Package io.temporal.api.worker.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkerDeploymentVersiongetDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;WorkerDeploymentVersionOrBuildergetDeploymentVersionOrBuilder().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;StorageDriverInfogetDrivers(int index)Storage drivers in use by this SDK.intgetDriversCount()Storage drivers in use by this SDK.java.util.List<StorageDriverInfo>getDriversList()Storage drivers in use by this SDK.StorageDriverInfoOrBuildergetDriversOrBuilder(int index)Storage drivers in use by this SDK.java.util.List<? extends StorageDriverInfoOrBuilder>getDriversOrBuilderList()Storage drivers in use by this SDK.java.lang.StringgetHostName()Worker host identifier.com.google.protobuf.ByteStringgetHostNameBytes()Worker host identifier.PluginInfogetPlugins(int index)Plugins currently in use by this SDK.intgetPluginsCount()Plugins currently in use by this SDK.java.util.List<PluginInfo>getPluginsList()Plugins currently in use by this SDK.PluginInfoOrBuildergetPluginsOrBuilder(int index)Plugins currently in use by this SDK.java.util.List<? extends PluginInfoOrBuilder>getPluginsOrBuilderList()Plugins currently in use by this SDK.java.lang.StringgetProcessId()Worker process identifier.com.google.protobuf.ByteStringgetProcessIdBytes()Worker process identifier.java.lang.StringgetSdkName()string sdk_name = 5;com.google.protobuf.ByteStringgetSdkNameBytes()string sdk_name = 5;java.lang.StringgetSdkVersion()string sdk_version = 6;com.google.protobuf.ByteStringgetSdkVersionBytes()string sdk_version = 6;com.google.protobuf.TimestampgetStartTime()Worker start time.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Worker start time.WorkerStatusgetStatus()Worker status.intgetStatusValue()Worker status.java.lang.StringgetTaskQueue()Task queue this worker is polling for tasks.com.google.protobuf.ByteStringgetTaskQueueBytes()Task queue this worker is polling for tasks.java.lang.StringgetWorkerGroupingKey()Worker grouping identifier.com.google.protobuf.ByteStringgetWorkerGroupingKeyBytes()Worker grouping identifier.java.lang.StringgetWorkerIdentity()Worker identity, set by the client, may not be unique.com.google.protobuf.ByteStringgetWorkerIdentityBytes()Worker identity, set by the client, may not be unique.java.lang.StringgetWorkerInstanceKey()Worker identifier, should be unique for the namespace.com.google.protobuf.ByteStringgetWorkerInstanceKeyBytes()Worker identifier, should be unique for the namespace.booleanhasDeploymentVersion().temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 4;booleanhasStartTime()Worker start time.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getWorkerInstanceKey
java.lang.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
java.lang.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
java.lang.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
java.lang.String getSdkName()
string sdk_name = 5;- Returns:
- The sdkName.
-
getSdkNameBytes
com.google.protobuf.ByteString getSdkNameBytes()
string sdk_name = 5;- Returns:
- The bytes for sdkName.
-
getSdkVersion
java.lang.String getSdkVersion()
string sdk_version = 6;- Returns:
- The sdkVersion.
-
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
java.lang.String getHostName()
Worker host identifier.
string host_name = 9;- Returns:
- The hostName.
-
getHostNameBytes
com.google.protobuf.ByteString getHostNameBytes()
Worker host identifier.
string host_name = 9;- Returns:
- The bytes for hostName.
-
getWorkerGroupingKey
java.lang.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
java.lang.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
java.util.List<PluginInfo> getPluginsList()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getPlugins
PluginInfo getPlugins(int index)
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
java.util.List<? extends PluginInfoOrBuilder> getPluginsOrBuilderList()
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getPluginsOrBuilder
PluginInfoOrBuilder getPluginsOrBuilder(int index)
Plugins currently in use by this SDK.
repeated .temporal.api.worker.v1.PluginInfo plugins = 12;
-
getDriversList
java.util.List<StorageDriverInfo> getDriversList()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
getDrivers
StorageDriverInfo getDrivers(int index)
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
java.util.List<? extends StorageDriverInfoOrBuilder> getDriversOrBuilderList()
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
getDriversOrBuilder
StorageDriverInfoOrBuilder getDriversOrBuilder(int index)
Storage drivers in use by this SDK.
repeated .temporal.api.worker.v1.StorageDriverInfo drivers = 13;
-
-