Class Meta.RangePartition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
io.dingodb.meta.Meta.RangePartition.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.RangePartitionOrBuilder, Cloneable
Enclosing class:
Meta.RangePartition

public static final class Meta.RangePartition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder> implements Meta.RangePartitionOrBuilder
Protobuf type dingodb.pb.meta.RangePartition
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.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.GeneratedMessageV3.Builder<Meta.RangePartition.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.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • getDefaultInstanceForType

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

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

      public Meta.RangePartition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • setField

      public Meta.RangePartition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • clearField

      public Meta.RangePartition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • clearOneof

      public Meta.RangePartition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • setRepeatedField

      public Meta.RangePartition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • addRepeatedField

      public Meta.RangePartition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • mergeFrom

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

    • isInitialized

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

      public Meta.RangePartition.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<Meta.RangePartition.Builder>
      Throws:
      IOException
    • getRangesList

      public List<Common.Range> getRangesList()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
      Specified by:
      getRangesList in interface Meta.RangePartitionOrBuilder
    • getRangesCount

      public int getRangesCount()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
      Specified by:
      getRangesCount in interface Meta.RangePartitionOrBuilder
    • getRanges

      public Common.Range getRanges(int index)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
      Specified by:
      getRanges in interface Meta.RangePartitionOrBuilder
    • setRanges

      public Meta.RangePartition.Builder setRanges(int index, Common.Range value)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • setRanges

      public Meta.RangePartition.Builder setRanges(int index, Common.Range.Builder builderForValue)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addRanges

      public Meta.RangePartition.Builder addRanges(Common.Range value)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addRanges

      public Meta.RangePartition.Builder addRanges(int index, Common.Range value)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addRanges

      public Meta.RangePartition.Builder addRanges(Common.Range.Builder builderForValue)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addRanges

      public Meta.RangePartition.Builder addRanges(int index, Common.Range.Builder builderForValue)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addAllRanges

      public Meta.RangePartition.Builder addAllRanges(Iterable<? extends Common.Range> values)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • clearRanges

      public Meta.RangePartition.Builder clearRanges()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • removeRanges

      public Meta.RangePartition.Builder removeRanges(int index)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • getRangesBuilder

      public Common.Range.Builder getRangesBuilder(int index)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • getRangesOrBuilder

      public Common.RangeOrBuilder getRangesOrBuilder(int index)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
      Specified by:
      getRangesOrBuilder in interface Meta.RangePartitionOrBuilder
    • getRangesOrBuilderList

      public List<? extends Common.RangeOrBuilder> getRangesOrBuilderList()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
      Specified by:
      getRangesOrBuilderList in interface Meta.RangePartitionOrBuilder
    • addRangesBuilder

      public Common.Range.Builder addRangesBuilder()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • addRangesBuilder

      public Common.Range.Builder addRangesBuilder(int index)
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • getRangesBuilderList

      public List<Common.Range.Builder> getRangesBuilderList()
       the count of ranges must be equal to the count of id
       
      repeated .dingodb.pb.common.Range ranges = 1;
    • getIdsList

      public List<Meta.DingoCommonId> getIdsList()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
      Specified by:
      getIdsList in interface Meta.RangePartitionOrBuilder
    • getIdsCount

      public int getIdsCount()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
      Specified by:
      getIdsCount in interface Meta.RangePartitionOrBuilder
    • getIds

      public Meta.DingoCommonId getIds(int index)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
      Specified by:
      getIds in interface Meta.RangePartitionOrBuilder
    • setIds

      public Meta.RangePartition.Builder setIds(int index, Meta.DingoCommonId value)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • setIds

      public Meta.RangePartition.Builder setIds(int index, Meta.DingoCommonId.Builder builderForValue)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addIds

       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addIds

      public Meta.RangePartition.Builder addIds(int index, Meta.DingoCommonId value)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addIds

       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addIds

      public Meta.RangePartition.Builder addIds(int index, Meta.DingoCommonId.Builder builderForValue)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addAllIds

      public Meta.RangePartition.Builder addAllIds(Iterable<? extends Meta.DingoCommonId> values)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • clearIds

      public Meta.RangePartition.Builder clearIds()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • removeIds

      public Meta.RangePartition.Builder removeIds(int index)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • getIdsBuilder

      public Meta.DingoCommonId.Builder getIdsBuilder(int index)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • getIdsOrBuilder

      public Meta.DingoCommonIdOrBuilder getIdsOrBuilder(int index)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
      Specified by:
      getIdsOrBuilder in interface Meta.RangePartitionOrBuilder
    • getIdsOrBuilderList

      public List<? extends Meta.DingoCommonIdOrBuilder> getIdsOrBuilderList()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
      Specified by:
      getIdsOrBuilderList in interface Meta.RangePartitionOrBuilder
    • addIdsBuilder

      public Meta.DingoCommonId.Builder addIdsBuilder()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • addIdsBuilder

      public Meta.DingoCommonId.Builder addIdsBuilder(int index)
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • getIdsBuilderList

      public List<Meta.DingoCommonId.Builder> getIdsBuilderList()
       this is really part id, its parent entity is table
       
      repeated .dingodb.pb.meta.DingoCommonId ids = 2;
    • setUnknownFields

      public final Meta.RangePartition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>
    • mergeUnknownFields

      public final Meta.RangePartition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Meta.RangePartition.Builder>