Interface Node.NodeInfoOrBuilder

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

public static interface Node.NodeInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

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

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

      .dingodb.pb.common.ClusterRole 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;