Interface PollWorkflowTaskQueueRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PollWorkflowTaskQueueRequest,PollWorkflowTaskQueueRequest.Builder
@Generated(value="protoc",
comments="annotations:PollWorkflowTaskQueueRequestOrBuilder.java.pb.meta")
public interface PollWorkflowTaskQueueRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated.Worker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.The identity of the worker/client who is polling this task queuecom.google.protobuf.ByteStringThe identity of the worker/client who is polling this task queuestring namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the instructions.com.google.protobuf.ByteStringUnless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the instructions..temporal.api.taskqueue.v1.TaskQueue task_queue = 2;.temporal.api.taskqueue.v1.TaskQueue task_queue = 2;A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.com.google.protobuf.ByteStringA dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.A unique key for this worker instance, used for tracking worker lifecycle.com.google.protobuf.ByteStringA unique key for this worker instance, used for tracking worker lifecycle.Deprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated.Deprecated.booleanWorker deployment options that user has set in the worker.boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 2;booleanDeprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated.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
-
getNamespace
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Returns:
- The bytes for namespace.
-
hasTaskQueue
boolean hasTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 2;- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
TaskQueue getTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 2;- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
TaskQueueOrBuilder getTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 2; -
getPollerGroupId
String getPollerGroupId()Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the instructions. If not set, the poll is routed randomly which can cause it to be blocked without receiving a task while the queue actually has tasks in another server location.
string poller_group_id = 10;- Returns:
- The pollerGroupId.
-
getPollerGroupIdBytes
com.google.protobuf.ByteString getPollerGroupIdBytes()Unless this is the first poll, the client must pass one of the poller group IDs received in `poller_group_infos` of the last the PollWorkflowTaskQueueResponse according to the instructions. If not set, the poll is routed randomly which can cause it to be blocked without receiving a task while the queue actually has tasks in another server location.
string poller_group_id = 10;- Returns:
- The bytes for pollerGroupId.
-
getIdentity
String getIdentity()The identity of the worker/client who is polling this task queue
string identity = 3;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client who is polling this task queue
string identity = 3;- Returns:
- The bytes for identity.
-
getWorkerInstanceKey
String getWorkerInstanceKey()A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 8;- Returns:
- The workerInstanceKey.
-
getWorkerInstanceKeyBytes
com.google.protobuf.ByteString getWorkerInstanceKeyBytes()A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 8;- Returns:
- The bytes for workerInstanceKey.
-
getWorkerControlTaskQueue
String getWorkerControlTaskQueue()A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 9;- Returns:
- The workerControlTaskQueue.
-
getWorkerControlTaskQueueBytes
com.google.protobuf.ByteString getWorkerControlTaskQueueBytes()A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 9;- Returns:
- The bytes for workerControlTaskQueue.
-
getBinaryChecksum
Deprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299Deprecated. Use deployment_options instead. Each worker process should provide an ID unique to the specific set of code it is running "checksum" in this field name isn't very accurate, it should be though of as an id.
string binary_checksum = 4 [deprecated = true];- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
Deprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299Deprecated. Use deployment_options instead. Each worker process should provide an ID unique to the specific set of code it is running "checksum" in this field name isn't very accurate, it should be though of as an id.
string binary_checksum = 4 [deprecated = true];- Returns:
- The bytes for binaryChecksum.
-
hasWorkerVersionCapabilities
Deprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=303Deprecated. Use deployment_options instead. Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 5 [deprecated = true];- Returns:
- Whether the workerVersionCapabilities field is set.
-
getWorkerVersionCapabilities
Deprecated.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=303Deprecated. Use deployment_options instead. Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 5 [deprecated = true];- Returns:
- The workerVersionCapabilities.
-
getWorkerVersionCapabilitiesOrBuilder
Deprecated.Deprecated. Use deployment_options instead. Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 5 [deprecated = true]; -
hasDeploymentOptions
boolean hasDeploymentOptions()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;- Returns:
- Whether the deploymentOptions field is set.
-
getDeploymentOptions
WorkerDeploymentOptions getDeploymentOptions()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;- Returns:
- The deploymentOptions.
-
getDeploymentOptionsOrBuilder
WorkerDeploymentOptionsOrBuilder getDeploymentOptionsOrBuilder()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
-