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 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

       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.