Class ResourceStatusPhysicalHostTopology.Builder (1.93.0)

public static final class ResourceStatusPhysicalHostTopology.Builder extends GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder> implements ResourceStatusPhysicalHostTopologyOrBuilder

Represents the physical host topology of the host on which the VM is running.

Protobuf type google.cloud.compute.v1.ResourceStatusPhysicalHostTopology

Static Methods

getDescriptor()

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

Methods

build()

public ResourceStatusPhysicalHostTopology build()
Returns
Type Description
ResourceStatusPhysicalHostTopology

buildPartial()

public ResourceStatusPhysicalHostTopology buildPartial()
Returns
Type Description
ResourceStatusPhysicalHostTopology

clear()

public ResourceStatusPhysicalHostTopology.Builder clear()
Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder
Overrides

clearBlock()

public ResourceStatusPhysicalHostTopology.Builder clearBlock()

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

clearCluster()

public ResourceStatusPhysicalHostTopology.Builder clearCluster()

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

clearHost()

public ResourceStatusPhysicalHostTopology.Builder clearHost()

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

clearSubblock()

public ResourceStatusPhysicalHostTopology.Builder clearSubblock()

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

getBlock()

public String getBlock()

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Returns
Type Description
String

The block.

getBlockBytes()

public ByteString getBlockBytes()

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Returns
Type Description
ByteString

The bytes for block.

getCluster()

public String getCluster()

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ResourceStatusPhysicalHostTopology getDefaultInstanceForType()
Returns
Type Description
ResourceStatusPhysicalHostTopology

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHost()

public String getHost()

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Returns
Type Description
ByteString

The bytes for host.

getSubblock()

public String getSubblock()

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Returns
Type Description
String

The subblock.

getSubblockBytes()

public ByteString getSubblockBytes()

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Returns
Type Description
ByteString

The bytes for subblock.

hasBlock()

public boolean hasBlock()

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Returns
Type Description
boolean

Whether the block field is set.

hasCluster()

public boolean hasCluster()

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Returns
Type Description
boolean

Whether the cluster field is set.

hasHost()

public boolean hasHost()

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Returns
Type Description
boolean

Whether the host field is set.

hasSubblock()

public boolean hasSubblock()

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Returns
Type Description
boolean

Whether the subblock field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceStatusPhysicalHostTopology other)

public ResourceStatusPhysicalHostTopology.Builder mergeFrom(ResourceStatusPhysicalHostTopology other)
Parameter
Name Description
other ResourceStatusPhysicalHostTopology
Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceStatusPhysicalHostTopology.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourceStatusPhysicalHostTopology.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder
Overrides

setBlock(String value)

public ResourceStatusPhysicalHostTopology.Builder setBlock(String value)

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Parameter
Name Description
value String

The block to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setBlockBytes(ByteString value)

public ResourceStatusPhysicalHostTopology.Builder setBlockBytes(ByteString value)

[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.

optional string block = 93832333;

Parameter
Name Description
value ByteString

The bytes for block to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setCluster(String value)

public ResourceStatusPhysicalHostTopology.Builder setCluster(String value)

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Parameter
Name Description
value String

The cluster to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setClusterBytes(ByteString value)

public ResourceStatusPhysicalHostTopology.Builder setClusterBytes(ByteString value)

[Output Only] The global name of the Compute Engine cluster where the running instance is located.

optional string cluster = 335221242;

Parameter
Name Description
value ByteString

The bytes for cluster to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setHost(String value)

public ResourceStatusPhysicalHostTopology.Builder setHost(String value)

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Parameter
Name Description
value String

The host to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setHostBytes(ByteString value)

public ResourceStatusPhysicalHostTopology.Builder setHostBytes(ByteString value)

[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.

optional string host = 3208616;

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setSubblock(String value)

public ResourceStatusPhysicalHostTopology.Builder setSubblock(String value)

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Parameter
Name Description
value String

The subblock to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.

setSubblockBytes(ByteString value)

public ResourceStatusPhysicalHostTopology.Builder setSubblockBytes(ByteString value)

[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.

optional string subblock = 70446669;

Parameter
Name Description
value ByteString

The bytes for subblock to set.

Returns
Type Description
ResourceStatusPhysicalHostTopology.Builder

This builder for chaining.