Interface Meta.RangeDistributionOrBuilder

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

public static interface Meta.RangeDistributionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasId

      boolean hasId()
       this is really region id, its parent entity is part_id
       
      .dingodb.pb.meta.DingoCommonId id = 1;
      Returns:
      Whether the id field is set.
    • getId

       this is really region id, its parent entity is part_id
       
      .dingodb.pb.meta.DingoCommonId id = 1;
      Returns:
      The id.
    • getIdOrBuilder

      Meta.DingoCommonIdOrBuilder getIdOrBuilder()
       this is really region id, its parent entity is part_id
       
      .dingodb.pb.meta.DingoCommonId id = 1;
    • hasRange

      boolean hasRange()
       the range of this part
       
      .dingodb.pb.common.Range range = 2;
      Returns:
      Whether the range field is set.
    • getRange

      Common.Range getRange()
       the range of this part
       
      .dingodb.pb.common.Range range = 2;
      Returns:
      The range.
    • getRangeOrBuilder

      Common.RangeOrBuilder getRangeOrBuilder()
       the range of this part
       
      .dingodb.pb.common.Range range = 2;
    • hasLeader

      boolean hasLeader()
       the leader's store location
       
      .dingodb.pb.common.Location leader = 3;
      Returns:
      Whether the leader field is set.
    • getLeader

      Common.Location getLeader()
       the leader's store location
       
      .dingodb.pb.common.Location leader = 3;
      Returns:
      The leader.
    • getLeaderOrBuilder

      Common.LocationOrBuilder getLeaderOrBuilder()
       the leader's store location
       
      .dingodb.pb.common.Location leader = 3;
    • getVotersList

      List<Common.Location> getVotersList()
       all members of the region that have right to vote, this field is
       equal to the old replicates field of Part.
       
      repeated .dingodb.pb.common.Location voters = 4;
    • getVoters

      Common.Location getVoters(int index)
       all members of the region that have right to vote, this field is
       equal to the old replicates field of Part.
       
      repeated .dingodb.pb.common.Location voters = 4;
    • getVotersCount

      int getVotersCount()
       all members of the region that have right to vote, this field is
       equal to the old replicates field of Part.
       
      repeated .dingodb.pb.common.Location voters = 4;
    • getVotersOrBuilderList

      List<? extends Common.LocationOrBuilder> getVotersOrBuilderList()
       all members of the region that have right to vote, this field is
       equal to the old replicates field of Part.
       
      repeated .dingodb.pb.common.Location voters = 4;
    • getVotersOrBuilder

      Common.LocationOrBuilder getVotersOrBuilder(int index)
       all members of the region that have right to vote, this field is
       equal to the old replicates field of Part.
       
      repeated .dingodb.pb.common.Location voters = 4;
    • getLearnersList

      List<Common.Location> getLearnersList()
       all members of the region that is learners, have no right to vote
       
      repeated .dingodb.pb.common.Location learners = 5;
    • getLearners

      Common.Location getLearners(int index)
       all members of the region that is learners, have no right to vote
       
      repeated .dingodb.pb.common.Location learners = 5;
    • getLearnersCount

      int getLearnersCount()
       all members of the region that is learners, have no right to vote
       
      repeated .dingodb.pb.common.Location learners = 5;
    • getLearnersOrBuilderList

      List<? extends Common.LocationOrBuilder> getLearnersOrBuilderList()
       all members of the region that is learners, have no right to vote
       
      repeated .dingodb.pb.common.Location learners = 5;
    • getLearnersOrBuilder

      Common.LocationOrBuilder getLearnersOrBuilder(int index)
       all members of the region that is learners, have no right to vote
       
      repeated .dingodb.pb.common.Location learners = 5;
    • getRegionmapEpoch

      long getRegionmapEpoch()
      int64 regionmap_epoch = 6;
      Returns:
      The regionmapEpoch.
    • getStoremapEpoch

      long getStoremapEpoch()
      int64 storemap_epoch = 7;
      Returns:
      The storemapEpoch.
    • hasRegionEpoch

      boolean hasRegionEpoch()
       region_epoch is used to check whether the region info is stale
       
      .dingodb.pb.common.RegionEpoch region_epoch = 8;
      Returns:
      Whether the regionEpoch field is set.
    • getRegionEpoch

      Common.RegionEpoch getRegionEpoch()
       region_epoch is used to check whether the region info is stale
       
      .dingodb.pb.common.RegionEpoch region_epoch = 8;
      Returns:
      The regionEpoch.
    • getRegionEpochOrBuilder

      Common.RegionEpochOrBuilder getRegionEpochOrBuilder()
       region_epoch is used to check whether the region info is stale
       
      .dingodb.pb.common.RegionEpoch region_epoch = 8;
    • hasStatus

      boolean hasStatus()
       RegionStatus
       
      .dingodb.pb.meta.RegionStatus status = 9;
      Returns:
      Whether the status field is set.
    • getStatus

      Meta.RegionStatus getStatus()
       RegionStatus
       
      .dingodb.pb.meta.RegionStatus status = 9;
      Returns:
      The status.
    • getStatusOrBuilder

      Meta.RegionStatusOrBuilder getStatusOrBuilder()
       RegionStatus
       
      .dingodb.pb.meta.RegionStatus status = 9;