Package io.dingodb.common
Interface Common.ExecutorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.Executor,Common.Executor.Builder
- Enclosing class:
- Common
public static interface Common.ExecutorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionexecutor cluster name for multi tenantcom.google.protobuf.ByteStringexecutor cluster name for multi tenantlongonly updated by coordinatorlonggetEpoch()unusedsdk set this field in heartbeat, only updated by coordinatorsdk set this field in heartbeat, only updated by coordinatorgetId()only updated by coordinator, sdk can ignore this field nowcom.google.protobuf.ByteStringonly updated by coordinator, sdk can ignore this field nowlongonly updated by coordinatorsdk set this field in heartbeat, only updated by sdkcom.google.protobuf.ByteStringsdk set this field in heartbeat, only updated by sdkonly updated by coordinatorcom.google.protobuf.ByteStringonly updated by coordinatorsdk set this field in heartbeat, only updated by sdksdk set this field in heartbeat, only updated by sdkgetState()only updated by coordinator, sdk can ignore this field nowintonly updated by coordinator, sdk can ignore this field nowbooleansdk set this field in heartbeat, only updated by coordinatorbooleansdk set this field in heartbeat, only updated by sdkMethods 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
String getId()only updated by coordinator, sdk can ignore this field now
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()only updated by coordinator, sdk can ignore this field now
string id = 1;- Returns:
- The bytes for id.
-
getEpoch
long getEpoch()unused
int64 epoch = 2;- Returns:
- The epoch.
-
getStateValue
int getStateValue()only updated by coordinator, sdk can ignore this field now
.dingodb.pb.common.ExecutorState state = 3;- Returns:
- The enum numeric value on the wire for state.
-
getState
Common.ExecutorState getState()only updated by coordinator, sdk can ignore this field now
.dingodb.pb.common.ExecutorState state = 3;- Returns:
- The state.
-
hasServerLocation
boolean hasServerLocation()sdk set this field in heartbeat, only updated by sdk
.dingodb.pb.common.Location server_location = 4;- Returns:
- Whether the serverLocation field is set.
-
getServerLocation
Common.Location getServerLocation()sdk set this field in heartbeat, only updated by sdk
.dingodb.pb.common.Location server_location = 4;- Returns:
- The serverLocation.
-
getServerLocationOrBuilder
Common.LocationOrBuilder getServerLocationOrBuilder()sdk set this field in heartbeat, only updated by sdk
.dingodb.pb.common.Location server_location = 4; -
hasExecutorUser
boolean hasExecutorUser()sdk set this field in heartbeat, only updated by coordinator
.dingodb.pb.common.ExecutorUser executor_user = 5;- Returns:
- Whether the executorUser field is set.
-
getExecutorUser
Common.ExecutorUser getExecutorUser()sdk set this field in heartbeat, only updated by coordinator
.dingodb.pb.common.ExecutorUser executor_user = 5;- Returns:
- The executorUser.
-
getExecutorUserOrBuilder
Common.ExecutorUserOrBuilder getExecutorUserOrBuilder()sdk set this field in heartbeat, only updated by coordinator
.dingodb.pb.common.ExecutorUser executor_user = 5; -
getResourceTag
String getResourceTag()only updated by coordinator
string resource_tag = 6;- Returns:
- The resourceTag.
-
getResourceTagBytes
com.google.protobuf.ByteString getResourceTagBytes()only updated by coordinator
string resource_tag = 6;- Returns:
- The bytes for resourceTag.
-
getCreateTimestamp
long getCreateTimestamp()only updated by coordinator
int64 create_timestamp = 7;- Returns:
- The createTimestamp.
-
getLastSeenTimestamp
long getLastSeenTimestamp()only updated by coordinator
int64 last_seen_timestamp = 8;- Returns:
- The lastSeenTimestamp.
-
getClusterName
String getClusterName()executor cluster name for multi tenant
string cluster_name = 9;- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()executor cluster name for multi tenant
string cluster_name = 9;- Returns:
- The bytes for clusterName.
-
getLeaderId
String getLeaderId()sdk set this field in heartbeat, only updated by sdk
string leader_id = 10;- Returns:
- The leaderId.
-
getLeaderIdBytes
com.google.protobuf.ByteString getLeaderIdBytes()sdk set this field in heartbeat, only updated by sdk
string leader_id = 10;- Returns:
- The bytes for leaderId.
-