Class ReservationSubBlockPhysicalTopology.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder>
com.google.cloud.compute.v1.ReservationSubBlockPhysicalTopology.Builder
All Implemented Interfaces:
ReservationSubBlockPhysicalTopologyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReservationSubBlockPhysicalTopology

public static final class ReservationSubBlockPhysicalTopology.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReservationSubBlockPhysicalTopology.Builder> implements ReservationSubBlockPhysicalTopologyOrBuilder
 
Protobuf type google.cloud.compute.v1.ReservationSubBlockPhysicalTopology
  • 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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.Builder>
    • getDefaultInstanceForType

      public ReservationSubBlockPhysicalTopology 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 ReservationSubBlockPhysicalTopology buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.Builder>
    • mergeFrom

      public ReservationSubBlockPhysicalTopology.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<ReservationSubBlockPhysicalTopology.Builder>
      Throws:
      IOException
    • hasBlock

      public boolean hasBlock()
       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Specified by:
      hasBlock in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      Whether the block field is set.
    • getBlock

      public String getBlock()
       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Specified by:
      getBlock in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The block.
    • getBlockBytes

      public com.google.protobuf.ByteString getBlockBytes()
       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Specified by:
      getBlockBytes in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The bytes for block.
    • setBlock

       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Parameters:
      value - The block to set.
      Returns:
      This builder for chaining.
    • clearBlock

       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Returns:
      This builder for chaining.
    • setBlockBytes

      public ReservationSubBlockPhysicalTopology.Builder setBlockBytes(com.google.protobuf.ByteString value)
       The hash of the capacity block within the cluster.
       
      optional string block = 93832333;
      Parameters:
      value - The bytes for block to set.
      Returns:
      This builder for chaining.
    • hasCluster

      public boolean hasCluster()
       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Specified by:
      hasCluster in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      Whether the cluster field is set.
    • getCluster

      public String getCluster()
       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Specified by:
      getCluster in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The cluster.
    • getClusterBytes

      public com.google.protobuf.ByteString getClusterBytes()
       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Specified by:
      getClusterBytes in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The bytes for cluster.
    • setCluster

       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Parameters:
      value - The cluster to set.
      Returns:
      This builder for chaining.
    • clearCluster

       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Returns:
      This builder for chaining.
    • setClusterBytes

      public ReservationSubBlockPhysicalTopology.Builder setClusterBytes(com.google.protobuf.ByteString value)
       The cluster name of the reservation subBlock.
       
      optional string cluster = 335221242;
      Parameters:
      value - The bytes for cluster to set.
      Returns:
      This builder for chaining.
    • hasSubBlock

      public boolean hasSubBlock()
       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Specified by:
      hasSubBlock in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      Whether the subBlock field is set.
    • getSubBlock

      public String getSubBlock()
       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Specified by:
      getSubBlock in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The subBlock.
    • getSubBlockBytes

      public com.google.protobuf.ByteString getSubBlockBytes()
       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Specified by:
      getSubBlockBytes in interface ReservationSubBlockPhysicalTopologyOrBuilder
      Returns:
      The bytes for subBlock.
    • setSubBlock

       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Parameters:
      value - The subBlock to set.
      Returns:
      This builder for chaining.
    • clearSubBlock

       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Returns:
      This builder for chaining.
    • setSubBlockBytes

      public ReservationSubBlockPhysicalTopology.Builder setSubBlockBytes(com.google.protobuf.ByteString value)
       The hash of the capacity sub-block within the capacity block.
       
      optional string sub_block = 478033358;
      Parameters:
      value - The bytes for subBlock to set.
      Returns:
      This builder for chaining.