public static final class ResourceStatusPhysicalHostTopology.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceStatusPhysicalHostTopology.BuilderImplements
ResourceStatusPhysicalHostTopologyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceStatusPhysicalHostTopology.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public ResourceStatusPhysicalHostTopology.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceStatusPhysicalHostTopology.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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. |
clone()
public ResourceStatusPhysicalHostTopology.Builder clone()
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceStatusPhysicalHostTopology.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceStatusPhysicalHostTopology.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceStatusPhysicalHostTopology.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceStatusPhysicalHostTopology.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceStatusPhysicalHostTopology.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceStatusPhysicalHostTopology.Builder |