Class DeletePartition.Builder

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

public static final class DeletePartition.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeletePartition.Builder> implements DeletePartitionOrBuilder
 When set in OperationStep, indicates that a partition should be deleted.
 
Protobuf type google.cloud.hypercomputecluster.v1.DeletePartition
  • 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<DeletePartition.Builder>
    • clear

      public DeletePartition.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<DeletePartition.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<DeletePartition.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DeletePartition.Builder mergeFrom(DeletePartition other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeletePartition.Builder>
    • mergeFrom

      public DeletePartition.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<DeletePartition.Builder>
      Throws:
      IOException
    • getPartitionsList

      public com.google.protobuf.ProtocolStringList getPartitionsList()
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartitionsList in interface DeletePartitionOrBuilder
      Returns:
      A list containing the partitions.
    • getPartitionsCount

      public int getPartitionsCount()
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartitionsCount in interface DeletePartitionOrBuilder
      Returns:
      The count of partitions.
    • getPartitions

      public String getPartitions(int index)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartitions in interface DeletePartitionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The partitions at the given index.
    • getPartitionsBytes

      public com.google.protobuf.ByteString getPartitionsBytes(int index)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartitionsBytes in interface DeletePartitionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the partitions at the given index.
    • setPartitions

      public DeletePartition.Builder setPartitions(int index, String value)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The partitions to set.
      Returns:
      This builder for chaining.
    • addPartitions

      public DeletePartition.Builder addPartitions(String value)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The partitions to add.
      Returns:
      This builder for chaining.
    • addAllPartitions

      public DeletePartition.Builder addAllPartitions(Iterable<String> values)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The partitions to add.
      Returns:
      This builder for chaining.
    • clearPartitions

      public DeletePartition.Builder clearPartitions()
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addPartitionsBytes

      public DeletePartition.Builder addPartitionsBytes(com.google.protobuf.ByteString value)
       Output only. Name of the partition to delete
       
      repeated string partitions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the partitions to add.
      Returns:
      This builder for chaining.