Class GetMachineImageRequest (1.14.0)

public final class GetMachineImageRequest extends GeneratedMessageV3 implements GetMachineImageRequestOrBuilder

A request message for MachineImages.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetMachineImageRequest

Static Fields

MACHINE_IMAGE_FIELD_NUMBER

public static final int MACHINE_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetMachineImageRequest getDefaultInstance()
Returns
TypeDescription
GetMachineImageRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GetMachineImageRequest.Builder newBuilder()
Returns
TypeDescription
GetMachineImageRequest.Builder

newBuilder(GetMachineImageRequest prototype)

public static GetMachineImageRequest.Builder newBuilder(GetMachineImageRequest prototype)
Parameter
NameDescription
prototypeGetMachineImageRequest
Returns
TypeDescription
GetMachineImageRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetMachineImageRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetMachineImageRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetMachineImageRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetMachineImageRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetMachineImageRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetMachineImageRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetMachineImageRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetMachineImageRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetMachineImageRequest> parser()
Returns
TypeDescription
Parser<GetMachineImageRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GetMachineImageRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMachineImageRequest

getMachineImage()

public String getMachineImage()

The name of the machine image.

string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The machineImage.

getMachineImageBytes()

public ByteString getMachineImageBytes()

The name of the machine image.

string machine_image = 69189475 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for machineImage.

getParserForType()

public Parser<GetMachineImageRequest> getParserForType()
Returns
TypeDescription
Parser<GetMachineImageRequest>
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetMachineImageRequest.Builder newBuilderForType()
Returns
TypeDescription
GetMachineImageRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetMachineImageRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetMachineImageRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetMachineImageRequest.Builder toBuilder()
Returns
TypeDescription
GetMachineImageRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException