Class HostPhysicalTopology (1.109.0)

public final class HostPhysicalTopology extends GeneratedMessage implements HostPhysicalTopologyOrBuilder

Protobuf type google.cloud.compute.v1.HostPhysicalTopology

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 HostPhysicalTopology getDefaultInstance()
Returns
Type Description
HostPhysicalTopology

getDescriptor()

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

newBuilder()

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

newBuilder(HostPhysicalTopology prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 HostPhysicalTopology getDefaultInstanceForType()
Returns
Type Description
HostPhysicalTopology

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<HostPhysicalTopology> getParserForType()
Returns
Type Description
Parser<HostPhysicalTopology>
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 HostPhysicalTopology.Builder newBuilderForType()
Returns
Type Description
HostPhysicalTopology.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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