Package io.dingodb.common
Interface Common.CoordinatorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.Coordinator,Common.Coordinator.Builder
- Enclosing class:
- Common
public static interface Common.CoordinatorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetId()int64 id = 1;.dingodb.pb.common.Location location = 3;.dingodb.pb.common.Location location = 3;string resource_tag = 4;com.google.protobuf.ByteStringstring resource_tag = 4;getState().dingodb.pb.common.CoordinatorState state = 2;int.dingodb.pb.common.CoordinatorState state = 2;boolean.dingodb.pb.common.Location 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.
-
getStateValue
int getStateValue().dingodb.pb.common.CoordinatorState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
Common.CoordinatorState getState().dingodb.pb.common.CoordinatorState state = 2;- Returns:
- The state.
-
hasLocation
boolean hasLocation().dingodb.pb.common.Location location = 3;- Returns:
- Whether the location field is set.
-
getLocation
Common.Location getLocation().dingodb.pb.common.Location location = 3;- Returns:
- The location.
-
getLocationOrBuilder
Common.LocationOrBuilder getLocationOrBuilder().dingodb.pb.common.Location location = 3; -
getResourceTag
String getResourceTag()string resource_tag = 4;- Returns:
- The resourceTag.
-
getResourceTagBytes
com.google.protobuf.ByteString getResourceTagBytes()string resource_tag = 4;- Returns:
- The bytes for resourceTag.
-