public static final class GetMachineImageRequest.Builder extends GeneratedMessage.Builder<GetMachineImageRequest.Builder> implements GetMachineImageRequestOrBuilderA request message for MachineImages.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineImageRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetMachineImageRequest.BuilderImplements
GetMachineImageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetMachineImageRequest build()| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest |
|
buildPartial()
public GetMachineImageRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest |
|
clear()
public GetMachineImageRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
|
clearMachineImage()
public GetMachineImageRequest.Builder clearMachineImage()The name of the machine image.
string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |
clearProject()
public GetMachineImageRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetMachineImageRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetMachineImageRequest other)
public GetMachineImageRequest.Builder mergeFrom(GetMachineImageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetMachineImageRequest |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetMachineImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetMachineImageRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
|
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 |
StringThe machineImage to set. |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for machineImage to set. |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |
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 |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetMachineImageRequest.Builder |
This builder for chaining. |