Interface StoreInternal.RegionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StoreInternal.Region, StoreInternal.Region.Builder
Enclosing class:
StoreInternal

public static interface StoreInternal.RegionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      long getId()
      int64 id = 1;
      Returns:
      The id.
    • getRegionTypeValue

      int getRegionTypeValue()
      .dingodb.pb.common.RegionType region_type = 10;
      Returns:
      The enum numeric value on the wire for regionType.
    • getRegionType

      Common.RegionType getRegionType()
      .dingodb.pb.common.RegionType region_type = 10;
      Returns:
      The regionType.
    • hasDefinition

      boolean hasDefinition()
      .dingodb.pb.common.RegionDefinition definition = 20;
      Returns:
      Whether the definition field is set.
    • getDefinition

      Common.RegionDefinition getDefinition()
      .dingodb.pb.common.RegionDefinition definition = 20;
      Returns:
      The definition.
    • getDefinitionOrBuilder

      Common.RegionDefinitionOrBuilder getDefinitionOrBuilder()
      .dingodb.pb.common.RegionDefinition definition = 20;
    • hasEncodeRange

      boolean hasEncodeRange()
      .dingodb.pb.common.Range encode_range = 21;
      Returns:
      Whether the encodeRange field is set.
    • getEncodeRange

      Common.Range getEncodeRange()
      .dingodb.pb.common.Range encode_range = 21;
      Returns:
      The encodeRange.
    • getEncodeRangeOrBuilder

      Common.RangeOrBuilder getEncodeRangeOrBuilder()
      .dingodb.pb.common.Range encode_range = 21;
    • getLeaderId

      long getLeaderId()
      int64 leader_id = 30;
      Returns:
      The leaderId.
    • getStateValue

      int getStateValue()
      .dingodb.pb.common.StoreRegionState state = 40;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      .dingodb.pb.common.StoreRegionState state = 40;
      Returns:
      The state.
    • getHistoryStatesList

      List<Common.StoreRegionState> getHistoryStatesList()
      repeated .dingodb.pb.common.StoreRegionState history_states = 50;
      Returns:
      A list containing the historyStates.
    • getHistoryStatesCount

      int getHistoryStatesCount()
      repeated .dingodb.pb.common.StoreRegionState history_states = 50;
      Returns:
      The count of historyStates.
    • getHistoryStates

      Common.StoreRegionState getHistoryStates(int index)
      repeated .dingodb.pb.common.StoreRegionState history_states = 50;
      Parameters:
      index - The index of the element to return.
      Returns:
      The historyStates at the given index.
    • getHistoryStatesValueList

      List<Integer> getHistoryStatesValueList()
      repeated .dingodb.pb.common.StoreRegionState history_states = 50;
      Returns:
      A list containing the enum numeric values on the wire for historyStates.
    • getHistoryStatesValue

      int getHistoryStatesValue(int index)
      repeated .dingodb.pb.common.StoreRegionState history_states = 50;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of historyStates at the given index.
    • getNeedBootstrapDoSnapshot

      boolean getNeedBootstrapDoSnapshot()
      bool need_bootstrap_do_snapshot = 51;
      Returns:
      The needBootstrapDoSnapshot.
    • getTemporaryDisableChange

      boolean getTemporaryDisableChange()
       store local control
       
      bool temporary_disable_change = 69;
      Returns:
      The temporaryDisableChange.
    • getDisableChange

      boolean getDisableChange()
       external control, e.g. coordinator/store, region split/merge/conf_change switch
       
      bool disable_change = 70;
      Returns:
      The disableChange.
    • getLastSplitTimestamp

      long getLastSplitTimestamp()
      int64 last_split_timestamp = 71;
      Returns:
      The lastSplitTimestamp.
    • getParentId

      long getParentId()
      int64 parent_id = 72;
      Returns:
      The parentId.
    • getSnapshotEpochVersion

      long getSnapshotEpochVersion()
       latest region raft snapshot epoch version
       
      int64 snapshot_epoch_version = 74;
      Returns:
      The snapshotEpochVersion.
    • getLastChangeJobId

      long getLastChangeJobId()
       Last split/merge/change_peer job id
       
      int64 last_change_job_id = 76;
      Returns:
      The lastChangeJobId.