Class WorkerListInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.worker.v1.WorkerListInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkerListInfoOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:WorkerListInfo.java.pb.meta") public final class WorkerListInfo extends com.google.protobuf.GeneratedMessageV3 implements WorkerListInfoOrBuilder
 Limited worker information returned in the list response.
 When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information).
 
Protobuf type temporal.api.worker.v1.WorkerListInfo
See Also:
  • Field Details

    • WORKER_INSTANCE_KEY_FIELD_NUMBER

      public static final int WORKER_INSTANCE_KEY_FIELD_NUMBER
      See Also:
    • WORKER_IDENTITY_FIELD_NUMBER

      public static final int WORKER_IDENTITY_FIELD_NUMBER
      See Also:
    • TASK_QUEUE_FIELD_NUMBER

      public static final int TASK_QUEUE_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_VERSION_FIELD_NUMBER

      public static final int DEPLOYMENT_VERSION_FIELD_NUMBER
      See Also:
    • SDK_NAME_FIELD_NUMBER

      public static final int SDK_NAME_FIELD_NUMBER
      See Also:
    • SDK_VERSION_FIELD_NUMBER

      public static final int SDK_VERSION_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • HOST_NAME_FIELD_NUMBER

      public static final int HOST_NAME_FIELD_NUMBER
      See Also:
    • WORKER_GROUPING_KEY_FIELD_NUMBER

      public static final int WORKER_GROUPING_KEY_FIELD_NUMBER
      See Also:
    • PROCESS_ID_FIELD_NUMBER

      public static final int PROCESS_ID_FIELD_NUMBER
      See Also:
    • PLUGINS_FIELD_NUMBER

      public static final int PLUGINS_FIELD_NUMBER
      See Also:
    • DRIVERS_FIELD_NUMBER

      public static final int DRIVERS_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
    • getWorkerInstanceKey

      public String getWorkerInstanceKey()
       Worker identifier, should be unique for the namespace.
       It is distinct from worker identity, which is not necessarily namespace-unique.
       
      string worker_instance_key = 1;
      Specified by:
      getWorkerInstanceKey in interface WorkerListInfoOrBuilder
      Returns:
      The workerInstanceKey.
    • getWorkerInstanceKeyBytes

      public com.google.protobuf.ByteString getWorkerInstanceKeyBytes()
       Worker identifier, should be unique for the namespace.
       It is distinct from worker identity, which is not necessarily namespace-unique.
       
      string worker_instance_key = 1;
      Specified by:
      getWorkerInstanceKeyBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for workerInstanceKey.
    • getWorkerIdentity

      public String getWorkerIdentity()
       Worker identity, set by the client, may not be unique.
       Usually host_name+(user group name)+process_id, but can be overwritten by the user.
       
      string worker_identity = 2;
      Specified by:
      getWorkerIdentity in interface WorkerListInfoOrBuilder
      Returns:
      The workerIdentity.
    • getWorkerIdentityBytes

      public com.google.protobuf.ByteString getWorkerIdentityBytes()
       Worker identity, set by the client, may not be unique.
       Usually host_name+(user group name)+process_id, but can be overwritten by the user.
       
      string worker_identity = 2;
      Specified by:
      getWorkerIdentityBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for workerIdentity.
    • getTaskQueue

      public String getTaskQueue()
       Task queue this worker is polling for tasks.
       
      string task_queue = 3;
      Specified by:
      getTaskQueue in interface WorkerListInfoOrBuilder
      Returns:
      The taskQueue.
    • getTaskQueueBytes

      public com.google.protobuf.ByteString getTaskQueueBytes()
       Task queue this worker is polling for tasks.
       
      string task_queue = 3;
      Specified by:
      getTaskQueueBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for taskQueue.
    • hasDeploymentVersion

      public boolean hasDeploymentVersion()
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
      Specified by:
      hasDeploymentVersion in interface WorkerListInfoOrBuilder
      Returns:
      Whether the deploymentVersion field is set.
    • getDeploymentVersion

      public WorkerDeploymentVersion getDeploymentVersion()
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
      Specified by:
      getDeploymentVersion in interface WorkerListInfoOrBuilder
      Returns:
      The deploymentVersion.
    • getDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder()
      .temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;
      Specified by:
      getDeploymentVersionOrBuilder in interface WorkerListInfoOrBuilder
    • getSdkName

      public String getSdkName()
      string sdk_name = 5;
      Specified by:
      getSdkName in interface WorkerListInfoOrBuilder
      Returns:
      The sdkName.
    • getSdkNameBytes

      public com.google.protobuf.ByteString getSdkNameBytes()
      string sdk_name = 5;
      Specified by:
      getSdkNameBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for sdkName.
    • getSdkVersion

      public String getSdkVersion()
      string sdk_version = 6;
      Specified by:
      getSdkVersion in interface WorkerListInfoOrBuilder
      Returns:
      The sdkVersion.
    • getSdkVersionBytes

      public com.google.protobuf.ByteString getSdkVersionBytes()
      string sdk_version = 6;
      Specified by:
      getSdkVersionBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for sdkVersion.
    • getStatusValue

      public int getStatusValue()
       Worker status. Defined by SDK.
       
      .temporal.api.enums.v1.WorkerStatus status = 7;
      Specified by:
      getStatusValue in interface WorkerListInfoOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public WorkerStatus getStatus()
       Worker status. Defined by SDK.
       
      .temporal.api.enums.v1.WorkerStatus status = 7;
      Specified by:
      getStatus in interface WorkerListInfoOrBuilder
      Returns:
      The status.
    • hasStartTime

      public boolean hasStartTime()
       Worker start time.
       It can be used to determine worker uptime. (current time - start time)
       
      .google.protobuf.Timestamp start_time = 8;
      Specified by:
      hasStartTime in interface WorkerListInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Worker start time.
       It can be used to determine worker uptime. (current time - start time)
       
      .google.protobuf.Timestamp start_time = 8;
      Specified by:
      getStartTime in interface WorkerListInfoOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Worker start time.
       It can be used to determine worker uptime. (current time - start time)
       
      .google.protobuf.Timestamp start_time = 8;
      Specified by:
      getStartTimeOrBuilder in interface WorkerListInfoOrBuilder
    • getHostName

      public String getHostName()
       Worker host identifier.
       
      string host_name = 9;
      Specified by:
      getHostName in interface WorkerListInfoOrBuilder
      Returns:
      The hostName.
    • getHostNameBytes

      public com.google.protobuf.ByteString getHostNameBytes()
       Worker host identifier.
       
      string host_name = 9;
      Specified by:
      getHostNameBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for hostName.
    • getWorkerGroupingKey

      public String getWorkerGroupingKey()
       Worker grouping identifier. A key to group workers that share the same client+namespace+process.
       This will be used to build the worker command nexus task queue name:
       "temporal-sys/worker-commands/{worker_grouping_key}"
       
      string worker_grouping_key = 10;
      Specified by:
      getWorkerGroupingKey in interface WorkerListInfoOrBuilder
      Returns:
      The workerGroupingKey.
    • getWorkerGroupingKeyBytes

      public com.google.protobuf.ByteString getWorkerGroupingKeyBytes()
       Worker grouping identifier. A key to group workers that share the same client+namespace+process.
       This will be used to build the worker command nexus task queue name:
       "temporal-sys/worker-commands/{worker_grouping_key}"
       
      string worker_grouping_key = 10;
      Specified by:
      getWorkerGroupingKeyBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for workerGroupingKey.
    • getProcessId

      public String getProcessId()
       Worker process identifier. This id only needs to be unique
       within one host (so using e.g. a unix pid would be appropriate).
       
      string process_id = 11;
      Specified by:
      getProcessId in interface WorkerListInfoOrBuilder
      Returns:
      The processId.
    • getProcessIdBytes

      public com.google.protobuf.ByteString getProcessIdBytes()
       Worker process identifier. This id only needs to be unique
       within one host (so using e.g. a unix pid would be appropriate).
       
      string process_id = 11;
      Specified by:
      getProcessIdBytes in interface WorkerListInfoOrBuilder
      Returns:
      The bytes for processId.
    • getPluginsList

      public List<PluginInfo> getPluginsList()
       Plugins currently in use by this SDK.
       
      repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
      Specified by:
      getPluginsList in interface WorkerListInfoOrBuilder
    • getPluginsOrBuilderList

      public List<? extends PluginInfoOrBuilder> getPluginsOrBuilderList()
       Plugins currently in use by this SDK.
       
      repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
      Specified by:
      getPluginsOrBuilderList in interface WorkerListInfoOrBuilder
    • getPluginsCount

      public int getPluginsCount()
       Plugins currently in use by this SDK.
       
      repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
      Specified by:
      getPluginsCount in interface WorkerListInfoOrBuilder
    • getPlugins

      public PluginInfo getPlugins(int index)
       Plugins currently in use by this SDK.
       
      repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
      Specified by:
      getPlugins in interface WorkerListInfoOrBuilder
    • getPluginsOrBuilder

      public PluginInfoOrBuilder getPluginsOrBuilder(int index)
       Plugins currently in use by this SDK.
       
      repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
      Specified by:
      getPluginsOrBuilder in interface WorkerListInfoOrBuilder
    • getDriversList

      public List<StorageDriverInfo> getDriversList()
       Storage drivers in use by this SDK.
       
      repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
      Specified by:
      getDriversList in interface WorkerListInfoOrBuilder
    • getDriversOrBuilderList

      public List<? extends StorageDriverInfoOrBuilder> getDriversOrBuilderList()
       Storage drivers in use by this SDK.
       
      repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
      Specified by:
      getDriversOrBuilderList in interface WorkerListInfoOrBuilder
    • getDriversCount

      public int getDriversCount()
       Storage drivers in use by this SDK.
       
      repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
      Specified by:
      getDriversCount in interface WorkerListInfoOrBuilder
    • getDrivers

      public StorageDriverInfo getDrivers(int index)
       Storage drivers in use by this SDK.
       
      repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
      Specified by:
      getDrivers in interface WorkerListInfoOrBuilder
    • getDriversOrBuilder

      public StorageDriverInfoOrBuilder getDriversOrBuilder(int index)
       Storage drivers in use by this SDK.
       
      repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
      Specified by:
      getDriversOrBuilder in interface WorkerListInfoOrBuilder
    • 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 WorkerListInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static WorkerListInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static WorkerListInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static WorkerListInfo.Builder newBuilder()
    • newBuilder

      public static WorkerListInfo.Builder newBuilder(WorkerListInfo prototype)
    • toBuilder

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

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

      public static WorkerListInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<WorkerListInfo> 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 WorkerListInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder