Class Coordinator.GetStoreMapRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
io.dingodb.coordinator.Coordinator.GetStoreMapRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Coordinator.GetStoreMapRequestOrBuilder, Cloneable
Enclosing class:
Coordinator.GetStoreMapRequest

public static final class Coordinator.GetStoreMapRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder> implements Coordinator.GetStoreMapRequestOrBuilder
Protobuf type dingodb.pb.coordinator.GetStoreMapRequest
  • 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<Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • getDefaultInstanceForType

      public Coordinator.GetStoreMapRequest 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 Coordinator.GetStoreMapRequest 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<Coordinator.GetStoreMapRequest.Builder>
    • setField

      public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • clearField

      public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • clearOneof

      public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • setRepeatedField

      public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • addRepeatedField

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

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

      public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
      Throws:
      IOException
    • hasRequestInfo

      public boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      hasRequestInfo in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      public Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfo in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      The requestInfo.
    • setRequestInfo

      .dingodb.pb.common.RequestInfo request_info = 1;
    • setRequestInfo

      public Coordinator.GetStoreMapRequest.Builder setRequestInfo(Common.RequestInfo.Builder builderForValue)
      .dingodb.pb.common.RequestInfo request_info = 1;
    • mergeRequestInfo

      .dingodb.pb.common.RequestInfo request_info = 1;
    • clearRequestInfo

      public Coordinator.GetStoreMapRequest.Builder clearRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
    • getRequestInfoBuilder

      public Common.RequestInfo.Builder getRequestInfoBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
    • getRequestInfoOrBuilder

      public Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfoOrBuilder in interface Coordinator.GetStoreMapRequestOrBuilder
    • getEpoch

      public long getEpoch()
      int64 epoch = 2;
      Specified by:
      getEpoch in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      The epoch.
    • setEpoch

      public Coordinator.GetStoreMapRequest.Builder setEpoch(long value)
      int64 epoch = 2;
      Parameters:
      value - The epoch to set.
      Returns:
      This builder for chaining.
    • clearEpoch

      int64 epoch = 2;
      Returns:
      This builder for chaining.
    • getFilterStoreTypesList

      public List<Common.StoreType> getFilterStoreTypesList()
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Specified by:
      getFilterStoreTypesList in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      A list containing the filterStoreTypes.
    • getFilterStoreTypesCount

      public int getFilterStoreTypesCount()
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Specified by:
      getFilterStoreTypesCount in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      The count of filterStoreTypes.
    • getFilterStoreTypes

      public Common.StoreType getFilterStoreTypes(int index)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Specified by:
      getFilterStoreTypes in interface Coordinator.GetStoreMapRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The filterStoreTypes at the given index.
    • setFilterStoreTypes

      public Coordinator.GetStoreMapRequest.Builder setFilterStoreTypes(int index, Common.StoreType value)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      index - The index to set the value at.
      value - The filterStoreTypes to set.
      Returns:
      This builder for chaining.
    • addFilterStoreTypes

      public Coordinator.GetStoreMapRequest.Builder addFilterStoreTypes(Common.StoreType value)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      value - The filterStoreTypes to add.
      Returns:
      This builder for chaining.
    • addAllFilterStoreTypes

      public Coordinator.GetStoreMapRequest.Builder addAllFilterStoreTypes(Iterable<? extends Common.StoreType> values)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      values - The filterStoreTypes to add.
      Returns:
      This builder for chaining.
    • clearFilterStoreTypes

      public Coordinator.GetStoreMapRequest.Builder clearFilterStoreTypes()
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Returns:
      This builder for chaining.
    • getFilterStoreTypesValueList

      public List<Integer> getFilterStoreTypesValueList()
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Specified by:
      getFilterStoreTypesValueList in interface Coordinator.GetStoreMapRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for filterStoreTypes.
    • getFilterStoreTypesValue

      public int getFilterStoreTypesValue(int index)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Specified by:
      getFilterStoreTypesValue in interface Coordinator.GetStoreMapRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of filterStoreTypes at the given index.
    • setFilterStoreTypesValue

      public Coordinator.GetStoreMapRequest.Builder setFilterStoreTypesValue(int index, int value)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for filterStoreTypes to set.
      Returns:
      This builder for chaining.
    • addFilterStoreTypesValue

      public Coordinator.GetStoreMapRequest.Builder addFilterStoreTypesValue(int value)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      value - The enum numeric value on the wire for filterStoreTypes to add.
      Returns:
      This builder for chaining.
    • addAllFilterStoreTypesValue

      public Coordinator.GetStoreMapRequest.Builder addAllFilterStoreTypesValue(Iterable<Integer> values)
       if filter_store_types is not empty, only return the store with the store type in filter_store_types
       
      repeated .dingodb.pb.common.StoreType filter_store_types = 3;
      Parameters:
      values - The enum numeric values on the wire for filterStoreTypes to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
    • mergeUnknownFields

      public final Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>