Interface Common.PeerOrBuilder

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

public static interface Common.PeerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getStoreId

      long getStoreId()
      int64 store_id = 1;
      Returns:
      The storeId.
    • getRoleValue

      int getRoleValue()
      .dingodb.pb.common.PeerRole role = 2;
      Returns:
      The enum numeric value on the wire for role.
    • getRole

      Common.PeerRole getRole()
      .dingodb.pb.common.PeerRole role = 2;
      Returns:
      The role.
    • hasServerLocation

      boolean hasServerLocation()
      .dingodb.pb.common.Location server_location = 3;
      Returns:
      Whether the serverLocation field is set.
    • getServerLocation

      Common.Location getServerLocation()
      .dingodb.pb.common.Location server_location = 3;
      Returns:
      The serverLocation.
    • getServerLocationOrBuilder

      Common.LocationOrBuilder getServerLocationOrBuilder()
      .dingodb.pb.common.Location server_location = 3;
    • hasRaftLocation

      boolean hasRaftLocation()
      .dingodb.pb.common.Location raft_location = 4;
      Returns:
      Whether the raftLocation field is set.
    • getRaftLocation

      Common.Location getRaftLocation()
      .dingodb.pb.common.Location raft_location = 4;
      Returns:
      The raftLocation.
    • getRaftLocationOrBuilder

      Common.LocationOrBuilder getRaftLocationOrBuilder()
      .dingodb.pb.common.Location raft_location = 4;