Class ReservationSlotPhysicalTopology (1.101.0)

public final class ReservationSlotPhysicalTopology extends GeneratedMessage implements ReservationSlotPhysicalTopologyOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSlotPhysicalTopology

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ReservationSlotPhysicalTopology

Static Fields

BLOCK_FIELD_NUMBER

public static final int BLOCK_FIELD_NUMBER
Field Value
Type Description
int

CLUSTER_FIELD_NUMBER

public static final int CLUSTER_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

SUB_BLOCK_FIELD_NUMBER

public static final int SUB_BLOCK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReservationSlotPhysicalTopology getDefaultInstance()
Returns
Type Description
ReservationSlotPhysicalTopology

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReservationSlotPhysicalTopology.Builder newBuilder()
Returns
Type Description
ReservationSlotPhysicalTopology.Builder

newBuilder(ReservationSlotPhysicalTopology prototype)

public static ReservationSlotPhysicalTopology.Builder newBuilder(ReservationSlotPhysicalTopology prototype)
Parameter
Name Description
prototype ReservationSlotPhysicalTopology
Returns
Type Description
ReservationSlotPhysicalTopology.Builder

parseDelimitedFrom(InputStream input)

public static ReservationSlotPhysicalTopology parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReservationSlotPhysicalTopology parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReservationSlotPhysicalTopology parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReservationSlotPhysicalTopology parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReservationSlotPhysicalTopology parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReservationSlotPhysicalTopology parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReservationSlotPhysicalTopology parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotPhysicalTopology
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReservationSlotPhysicalTopology> parser()
Returns
Type Description
Parser<ReservationSlotPhysicalTopology>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBlock()

public String getBlock()

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Returns
Type Description
String

The block.

getBlockBytes()

public ByteString getBlockBytes()

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Returns
Type Description
ByteString

The bytes for block.

getCluster()

public String getCluster()

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ReservationSlotPhysicalTopology getDefaultInstanceForType()
Returns
Type Description
ReservationSlotPhysicalTopology

getHost()

public String getHost()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

public Parser<ReservationSlotPhysicalTopology> getParserForType()
Returns
Type Description
Parser<ReservationSlotPhysicalTopology>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubBlock()

public String getSubBlock()

The unique identifier of the capacity sub-block within the capacity block.

optional string sub_block = 478033358;

Returns
Type Description
String

The subBlock.

getSubBlockBytes()

public ByteString getSubBlockBytes()

The unique identifier of the capacity sub-block within the capacity block.

optional string sub_block = 478033358;

Returns
Type Description
ByteString

The bytes for subBlock.

hasBlock()

public boolean hasBlock()

The unique identifier of the capacity block within the cluster.

optional string block = 93832333;

Returns
Type Description
boolean

Whether the block field is set.

hasCluster()

public boolean hasCluster()

The cluster name of the reservation sub-block.

optional string cluster = 335221242;

Returns
Type Description
boolean

Whether the cluster field is set.

hasHost()

public boolean hasHost()

The unique identifier of the capacity host within the capacity sub-block.

optional string host = 3208616;

Returns
Type Description
boolean

Whether the host field is set.

hasSubBlock()

public boolean hasSubBlock()

The unique identifier of the capacity sub-block within the capacity block.

optional string sub_block = 478033358;

Returns
Type Description
boolean

Whether the subBlock field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReservationSlotPhysicalTopology.Builder newBuilderForType()
Returns
Type Description
ReservationSlotPhysicalTopology.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ReservationSlotPhysicalTopology.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReservationSlotPhysicalTopology.Builder
Overrides

toBuilder()

public ReservationSlotPhysicalTopology.Builder toBuilder()
Returns
Type Description
ReservationSlotPhysicalTopology.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException