Class GetRegionDiskTypeRequest (1.45.0)

public final class GetRegionDiskTypeRequest extends GeneratedMessageV3 implements GetRegionDiskTypeRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionDiskTypeRequest

Static Fields

DISK_TYPE_FIELD_NUMBER

public static final int DISK_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetRegionDiskTypeRequest getDefaultInstance()
Returns
TypeDescription
GetRegionDiskTypeRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetRegionDiskTypeRequest prototype)

public static GetRegionDiskTypeRequest.Builder newBuilder(GetRegionDiskTypeRequest prototype)
Parameter
NameDescription
prototypeGetRegionDiskTypeRequest
Returns
TypeDescription
GetRegionDiskTypeRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetRegionDiskTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionDiskTypeRequest

getDiskType()

public String getDiskType()

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public ByteString getDiskTypeBytes()

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for diskType.

getParserForType()

public Parser<GetRegionDiskTypeRequest> getParserForType()
Returns
TypeDescription
Parser<GetRegionDiskTypeRequest>
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.

getRegion()

public String getRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 GetRegionDiskTypeRequest.Builder newBuilderForType()
Returns
TypeDescription
GetRegionDiskTypeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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