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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
    • getDefaultInstanceForType

      public ResourceStatusPhysicalHostTopology getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ResourceStatusPhysicalHostTopology buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ResourceStatusPhysicalHostTopology.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceStatusPhysicalHostTopology.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasBlock in interface ResourceStatusPhysicalHostTopologyOrBuilder
      Returns:
      Whether the block field is set.
    • 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;
      Specified by:
      getBlock in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      getBlockBytes in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      hasCluster in interface ResourceStatusPhysicalHostTopologyOrBuilder
      Returns:
      Whether the cluster field is set.
    • getCluster

      public String getCluster()
       [Output Only] The global name of the Compute Engine cluster where the
       running instance is located.
       
      optional string cluster = 335221242;
      Specified by:
      getCluster in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      getClusterBytes in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      hasHost in interface ResourceStatusPhysicalHostTopologyOrBuilder
      Returns:
      Whether the host field is set.
    • 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;
      Specified by:
      getHost in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      getHostBytes in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      hasSubblock in interface ResourceStatusPhysicalHostTopologyOrBuilder
      Returns:
      Whether the subblock field is set.
    • 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;
      Specified by:
      getSubblock in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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:
      getSubblockBytes in interface ResourceStatusPhysicalHostTopologyOrBuilder
      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.