Package com.google.cloud.compute.v1
Class ResourceStatusPhysicalHostTopology.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
com.google.cloud.compute.v1.ResourceStatusPhysicalHostTopology.Builder
- All Implemented Interfaces:
ResourceStatusPhysicalHostTopologyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceStatusPhysicalHostTopology
public static final class ResourceStatusPhysicalHostTopology.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output Only] The ID of the block in which the running instance is located.[Output Only] The global name of the Compute Engine cluster where the running instance is located.[Output Only] The ID of the host on which the running instance is located.[Output Only] The ID of the sub-block in which the running instance is located.getBlock()[Output Only] The ID of the block in which the running instance is located.com.google.protobuf.ByteString[Output Only] The ID of the block in which the running instance is located.[Output Only] The global name of the Compute Engine cluster where the running instance is located.com.google.protobuf.ByteString[Output Only] The global name of the Compute Engine cluster where the running instance is located.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHost()[Output Only] The ID of the host on which the running instance is located.com.google.protobuf.ByteString[Output Only] The ID of the host on which the running instance is located.[Output Only] The ID of the sub-block in which the running instance is located.com.google.protobuf.ByteString[Output Only] The ID of the sub-block in which the running instance is located.booleanhasBlock()[Output Only] The ID of the block in which the running instance is located.boolean[Output Only] The global name of the Compute Engine cluster where the running instance is located.booleanhasHost()[Output Only] The ID of the host on which the running instance is located.boolean[Output Only] The ID of the sub-block in which the running instance is located.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) [Output Only] The ID of the block in which the running instance is located.setBlockBytes(com.google.protobuf.ByteString value) [Output Only] The ID of the block in which the running instance is located.setCluster(String value) [Output Only] The global name of the Compute Engine cluster where the running instance is located.setClusterBytes(com.google.protobuf.ByteString value) [Output Only] The global name of the Compute Engine cluster where the running instance is located.[Output Only] The ID of the host on which the running instance is located.setHostBytes(com.google.protobuf.ByteString value) [Output Only] The ID of the host on which the running instance is located.setSubblock(String value) [Output Only] The ID of the sub-block in which the running instance is located.setSubblockBytes(com.google.protobuf.ByteString value) [Output Only] The ID of the sub-block in which the running instance is located.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
-
mergeFrom
public ResourceStatusPhysicalHostTopology.Builder mergeFrom(ResourceStatusPhysicalHostTopology other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
-
mergeFrom
public ResourceStatusPhysicalHostTopology.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>- Throws:
IOException
-
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;- Specified by:
hasBlockin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- Whether the block field is set.
-
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;- Specified by:
getBlockin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The block.
-
getBlockBytes
public com.google.protobuf.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;- Specified by:
getBlockBytesin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The bytes for block.
-
setBlock
[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;- Parameters:
value- The block to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setBlockBytes
public ResourceStatusPhysicalHostTopology.Builder setBlockBytes(com.google.protobuf.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;- Parameters:
value- The bytes for block to set.- Returns:
- This builder for chaining.
-
hasCluster
public boolean hasCluster()[Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Specified by:
hasClusterin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
[Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Specified by:
getClusterin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()[Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Specified by:
getClusterBytesin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
[Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
[Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Returns:
- This builder for chaining.
-
setClusterBytes
public ResourceStatusPhysicalHostTopology.Builder setClusterBytes(com.google.protobuf.ByteString value) [Output Only] The global name of the Compute Engine cluster where the running instance is located.
optional string cluster = 335221242;- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasHostin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- Whether the host field is set.
-
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;- Specified by:
getHostin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.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;- Specified by:
getHostBytesin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The bytes for host.
-
setHost
[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;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setHostBytes
public ResourceStatusPhysicalHostTopology.Builder setHostBytes(com.google.protobuf.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;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasSubblockin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- Whether the subblock field is set.
-
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;- Specified by:
getSubblockin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The subblock.
-
getSubblockBytes
public com.google.protobuf.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;- Specified by:
getSubblockBytesin interfaceResourceStatusPhysicalHostTopologyOrBuilder- Returns:
- The bytes for subblock.
-
setSubblock
[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;- Parameters:
value- The subblock to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setSubblockBytes
public ResourceStatusPhysicalHostTopology.Builder setSubblockBytes(com.google.protobuf.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;- Parameters:
value- The bytes for subblock to set.- Returns:
- This builder for chaining.
-