Class Common.Executor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.common.Common.Executor
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.ExecutorOrBuilder, Serializable
Enclosing class:
Common

public static final class Common.Executor extends com.google.protobuf.GeneratedMessageV3 implements Common.ExecutorOrBuilder
 Executor
 
Protobuf type dingodb.pb.common.Executor
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • EPOCH_FIELD_NUMBER

      public static final int EPOCH_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • SERVER_LOCATION_FIELD_NUMBER

      public static final int SERVER_LOCATION_FIELD_NUMBER
      See Also:
    • EXECUTOR_USER_FIELD_NUMBER

      public static final int EXECUTOR_USER_FIELD_NUMBER
      See Also:
    • RESOURCE_TAG_FIELD_NUMBER

      public static final int RESOURCE_TAG_FIELD_NUMBER
      See Also:
    • CREATE_TIMESTAMP_FIELD_NUMBER

      public static final int CREATE_TIMESTAMP_FIELD_NUMBER
      See Also:
    • LAST_SEEN_TIMESTAMP_FIELD_NUMBER

      public static final int LAST_SEEN_TIMESTAMP_FIELD_NUMBER
      See Also:
    • CLUSTER_NAME_FIELD_NUMBER

      public static final int CLUSTER_NAME_FIELD_NUMBER
      See Also:
    • LEADER_ID_FIELD_NUMBER

      public static final int LEADER_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getId

      public String getId()
       only updated by coordinator, sdk can ignore this field now
       
      string id = 1;
      Specified by:
      getId in interface Common.ExecutorOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       only updated by coordinator, sdk can ignore this field now
       
      string id = 1;
      Specified by:
      getIdBytes in interface Common.ExecutorOrBuilder
      Returns:
      The bytes for id.
    • getEpoch

      public long getEpoch()
       unused
       
      int64 epoch = 2;
      Specified by:
      getEpoch in interface Common.ExecutorOrBuilder
      Returns:
      The epoch.
    • getStateValue

      public int getStateValue()
       only updated by coordinator, sdk can ignore this field now
       
      .dingodb.pb.common.ExecutorState state = 3;
      Specified by:
      getStateValue in interface Common.ExecutorOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Common.ExecutorState getState()
       only updated by coordinator, sdk can ignore this field now
       
      .dingodb.pb.common.ExecutorState state = 3;
      Specified by:
      getState in interface Common.ExecutorOrBuilder
      Returns:
      The state.
    • hasServerLocation

      public boolean hasServerLocation()
       sdk set this field in heartbeat, only updated by sdk
       
      .dingodb.pb.common.Location server_location = 4;
      Specified by:
      hasServerLocation in interface Common.ExecutorOrBuilder
      Returns:
      Whether the serverLocation field is set.
    • getServerLocation

      public Common.Location getServerLocation()
       sdk set this field in heartbeat, only updated by sdk
       
      .dingodb.pb.common.Location server_location = 4;
      Specified by:
      getServerLocation in interface Common.ExecutorOrBuilder
      Returns:
      The serverLocation.
    • getServerLocationOrBuilder

      public Common.LocationOrBuilder getServerLocationOrBuilder()
       sdk set this field in heartbeat, only updated by sdk
       
      .dingodb.pb.common.Location server_location = 4;
      Specified by:
      getServerLocationOrBuilder in interface Common.ExecutorOrBuilder
    • hasExecutorUser

      public boolean hasExecutorUser()
       sdk set this field in heartbeat, only updated by coordinator
       
      .dingodb.pb.common.ExecutorUser executor_user = 5;
      Specified by:
      hasExecutorUser in interface Common.ExecutorOrBuilder
      Returns:
      Whether the executorUser field is set.
    • getExecutorUser

      public Common.ExecutorUser getExecutorUser()
       sdk set this field in heartbeat, only updated by coordinator
       
      .dingodb.pb.common.ExecutorUser executor_user = 5;
      Specified by:
      getExecutorUser in interface Common.ExecutorOrBuilder
      Returns:
      The executorUser.
    • getExecutorUserOrBuilder

      public Common.ExecutorUserOrBuilder getExecutorUserOrBuilder()
       sdk set this field in heartbeat, only updated by coordinator
       
      .dingodb.pb.common.ExecutorUser executor_user = 5;
      Specified by:
      getExecutorUserOrBuilder in interface Common.ExecutorOrBuilder
    • getResourceTag

      public String getResourceTag()
       only updated by coordinator
       
      string resource_tag = 6;
      Specified by:
      getResourceTag in interface Common.ExecutorOrBuilder
      Returns:
      The resourceTag.
    • getResourceTagBytes

      public com.google.protobuf.ByteString getResourceTagBytes()
       only updated by coordinator
       
      string resource_tag = 6;
      Specified by:
      getResourceTagBytes in interface Common.ExecutorOrBuilder
      Returns:
      The bytes for resourceTag.
    • getCreateTimestamp

      public long getCreateTimestamp()
       only updated by coordinator
       
      int64 create_timestamp = 7;
      Specified by:
      getCreateTimestamp in interface Common.ExecutorOrBuilder
      Returns:
      The createTimestamp.
    • getLastSeenTimestamp

      public long getLastSeenTimestamp()
       only updated by coordinator
       
      int64 last_seen_timestamp = 8;
      Specified by:
      getLastSeenTimestamp in interface Common.ExecutorOrBuilder
      Returns:
      The lastSeenTimestamp.
    • getClusterName

      public String getClusterName()
       executor cluster name for multi tenant
       
      string cluster_name = 9;
      Specified by:
      getClusterName in interface Common.ExecutorOrBuilder
      Returns:
      The clusterName.
    • getClusterNameBytes

      public com.google.protobuf.ByteString getClusterNameBytes()
       executor cluster name for multi tenant
       
      string cluster_name = 9;
      Specified by:
      getClusterNameBytes in interface Common.ExecutorOrBuilder
      Returns:
      The bytes for clusterName.
    • getLeaderId

      public String getLeaderId()
       sdk set this field in heartbeat, only updated by sdk
       
      string leader_id = 10;
      Specified by:
      getLeaderId in interface Common.ExecutorOrBuilder
      Returns:
      The leaderId.
    • getLeaderIdBytes

      public com.google.protobuf.ByteString getLeaderIdBytes()
       sdk set this field in heartbeat, only updated by sdk
       
      string leader_id = 10;
      Specified by:
      getLeaderIdBytes in interface Common.ExecutorOrBuilder
      Returns:
      The bytes for leaderId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Common.Executor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Common.Executor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.Executor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Common.Executor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Common.Executor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.Executor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Common.Executor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Common.Executor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Common.Executor.Builder newBuilder()
    • newBuilder

      public static Common.Executor.Builder newBuilder(Common.Executor prototype)
    • toBuilder

      public Common.Executor.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Common.Executor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Common.Executor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Common.Executor> parser()
    • getParserForType

      public com.google.protobuf.Parser<Common.Executor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Common.Executor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder