Package io.dingodb.node
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 Summary
Modifier and TypeMethodDescriptionlonggetId()int64 id = 1;.dingodb.pb.common.Location raft_location = 4;.dingodb.pb.common.Location raft_location = 4;getRole().dingodb.pb.common.ClusterRole role = 2;int.dingodb.pb.common.ClusterRole role = 2;.dingodb.pb.common.Location server_location = 3;.dingodb.pb.common.Location server_location = 3;boolean.dingodb.pb.common.Location raft_location = 4;boolean.dingodb.pb.common.Location server_location = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Common.ClusterRole 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;
-