public static final class GetMachineImageRequest.Builder extends GeneratedMessageV3.Builder<GetMachineImageRequest.Builder> implements GetMachineImageRequestOrBuilder
A request message for MachineImages.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineImageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetMachineImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetMachineImageRequest build()
Returns
buildPartial()
public GetMachineImageRequest buildPartial()
Returns
clear()
public GetMachineImageRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetMachineImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMachineImage()
public GetMachineImageRequest.Builder clearMachineImage()
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetMachineImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetMachineImageRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetMachineImageRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetMachineImageRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMachineImage()
public String getMachineImage()
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The machineImage.
|
getMachineImageBytes()
public ByteString getMachineImageBytes()
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for machineImage.
|
getProject()
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetMachineImageRequest other)
public GetMachineImageRequest.Builder mergeFrom(GetMachineImageRequest other)
Parameter
Returns
public GetMachineImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetMachineImageRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetMachineImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetMachineImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMachineImage(String value)
public GetMachineImageRequest.Builder setMachineImage(String value)
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The machineImage to set.
|
Returns
setMachineImageBytes(ByteString value)
public GetMachineImageRequest.Builder setMachineImageBytes(ByteString value)
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for machineImage to set.
|
Returns
setProject(String value)
public GetMachineImageRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The project to set.
|
Returns
setProjectBytes(ByteString value)
public GetMachineImageRequest.Builder setProjectBytes(ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for project to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetMachineImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetMachineImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides