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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetMachineImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetMachineImageRequest build()
buildPartial()
public GetMachineImageRequest buildPartial()
clear()
public GetMachineImageRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetMachineImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMachineImage()
public GetMachineImageRequest.Builder clearMachineImage()
The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GetMachineImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProject()
public GetMachineImageRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
clone()
public GetMachineImageRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GetMachineImageRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for project.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetMachineImageRequest other)
public GetMachineImageRequest.Builder mergeFrom(GetMachineImageRequest other)
public GetMachineImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetMachineImageRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetMachineImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetMachineImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetMachineImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetMachineImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides