Interface WorkerListInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerListInfo,WorkerListInfo.Builder
@Generated(value="protoc",
comments="annotations:WorkerListInfoOrBuilder.java.pb.meta")
public interface WorkerListInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;getDrivers(int index) Storage drivers in use by this SDK.intStorage drivers in use by this SDK.Storage drivers in use by this SDK.getDriversOrBuilder(int index) Storage drivers in use by this SDK.List<? extends StorageDriverInfoOrBuilder> Storage drivers in use by this SDK.Worker host identifier.com.google.protobuf.ByteStringWorker host identifier.getPlugins(int index) Plugins currently in use by this SDK.intPlugins currently in use by this SDK.Plugins currently in use by this SDK.getPluginsOrBuilder(int index) Plugins currently in use by this SDK.List<? extends PluginInfoOrBuilder> Plugins currently in use by this SDK.Worker process identifier.com.google.protobuf.ByteStringWorker process identifier.string sdk_name = 5;com.google.protobuf.ByteStringstring sdk_name = 5;string sdk_version = 6;com.google.protobuf.ByteStringstring sdk_version = 6;com.google.protobuf.TimestampWorker start time.com.google.protobuf.TimestampOrBuilderWorker start time.Worker status.intWorker status.Task queue this worker is polling for tasks.com.google.protobuf.ByteStringTask queue this worker is polling for tasks.Worker grouping identifier.com.google.protobuf.ByteStringWorker grouping identifier.Worker identity, set by the client, may not be unique.com.google.protobuf.ByteStringWorker identity, set by the client, may not be unique.Worker identifier, should be unique for the namespace.com.google.protobuf.ByteStringWorker identifier, should be unique for the namespace.boolean.temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;booleanWorker start time.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
-
getWorkerInstanceKey
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;- Returns:
- The workerInstanceKey.
-
getWorkerInstanceKeyBytes
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;- Returns:
- The bytes for workerInstanceKey.
-
getWorkerIdentity
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;- Returns:
- The workerIdentity.
-
getWorkerIdentityBytes
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;- Returns:
- The bytes for workerIdentity.
-
getTaskQueue
String getTaskQueue()Task queue this worker is polling for tasks.
string task_queue = 3;- Returns:
- The taskQueue.
-
getTaskQueueBytes
com.google.protobuf.ByteString getTaskQueueBytes()Task queue this worker is polling for tasks.
string task_queue = 3;- Returns:
- The bytes for taskQueue.
-
hasDeploymentVersion
boolean hasDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Returns:
- Whether the deploymentVersion field is set.
-
getDeploymentVersion
WorkerDeploymentVersion getDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;- Returns:
- The deploymentVersion.
-
getDeploymentVersionOrBuilder
WorkerDeploymentVersionOrBuilder getDeploymentVersionOrBuilder().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4; -
getSdkName
-
getSdkNameBytes
com.google.protobuf.ByteString getSdkNameBytes()string sdk_name = 5;- Returns:
- The bytes for sdkName.
-
getSdkVersion
-
getSdkVersionBytes
com.google.protobuf.ByteString getSdkVersionBytes()string sdk_version = 6;- Returns:
- The bytes for sdkVersion.
-
getStatusValue
int getStatusValue()Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
WorkerStatus getStatus()Worker status. Defined by SDK.
.temporal.api.enums.v1.WorkerStatus status = 7;- Returns:
- The status.
-
hasStartTime
boolean hasStartTime()Worker start time. It can be used to determine worker uptime. (current time - start time)
.google.protobuf.Timestamp start_time = 8;- Returns:
- Whether the startTime field is set.
-
getStartTime
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;- Returns:
- The startTime.
-
getStartTimeOrBuilder
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; -
getHostName
-
getHostNameBytes
com.google.protobuf.ByteString getHostNameBytes()Worker host identifier.
string host_name = 9;- Returns:
- The bytes for hostName.
-
getWorkerGroupingKey
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;- Returns:
- The workerGroupingKey.
-
getWorkerGroupingKeyBytes
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;- Returns:
- The bytes for workerGroupingKey.
-
getProcessId
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;- Returns:
- The processId.
-
getProcessIdBytes
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;- Returns:
- The bytes for processId.
-
getPluginsList
List<PluginInfo> getPluginsList()Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12; -
getPlugins
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12; -
getPluginsCount
int getPluginsCount()Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12; -
getPluginsOrBuilderList
List<? extends PluginInfoOrBuilder> getPluginsOrBuilderList()Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12; -
getPluginsOrBuilder
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12; -
getDriversList
List<StorageDriverInfo> getDriversList()Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13; -
getDrivers
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13; -
getDriversCount
int getDriversCount()Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13; -
getDriversOrBuilderList
List<? extends StorageDriverInfoOrBuilder> getDriversOrBuilderList()Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13; -
getDriversOrBuilder
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-