Interface PollNexusTaskQueueRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PollNexusTaskQueueRequest,PollNexusTaskQueueRequest.Builder
@Generated(value="protoc",
comments="annotations:PollNexusTaskQueueRequestOrBuilder.java.pb.meta")
public interface PollNexusTaskQueueRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionWorker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.The identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.string 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 PollNexusTaskQueueResponse 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 PollNexusTaskQueueResponse according to the instructions..temporal.api.taskqueue.v1.TaskQueue task_queue = 3;.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;getWorkerHeartbeat(int index) Worker info to be sent to the server.intWorker info to be sent to the server.Worker info to be sent to the server.getWorkerHeartbeatOrBuilder(int index) Worker info to be sent to the server.List<? extends WorkerHeartbeatOrBuilder> Worker info to be sent to the server.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.PollNexusTaskQueueRequest.worker_version_capabilities is deprecated.Deprecated.booleanWorker deployment options that user has set in the worker.boolean.temporal.api.taskqueue.v1.TaskQueue task_queue = 3;booleanDeprecated.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.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 = 3;- Returns:
- Whether the taskQueue field is set.
-
getTaskQueue
TaskQueue getTaskQueue().temporal.api.taskqueue.v1.TaskQueue task_queue = 3;- Returns:
- The taskQueue.
-
getTaskQueueOrBuilder
TaskQueueOrBuilder getTaskQueueOrBuilder().temporal.api.taskqueue.v1.TaskQueue task_queue = 3; -
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 PollNexusTaskQueueResponse 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 = 9;- 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 PollNexusTaskQueueResponse 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 = 9;- Returns:
- The bytes for pollerGroupId.
-
getIdentity
String getIdentity()The identity of the client who initiated this request.
string identity = 2;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 2;- 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.
-
hasWorkerVersionCapabilities
Deprecated.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2021Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 4 [deprecated = true];- Returns:
- Whether the workerVersionCapabilities field is set.
-
getWorkerVersionCapabilities
Deprecated.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2021Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 4 [deprecated = true];- Returns:
- The workerVersionCapabilities.
-
getWorkerVersionCapabilitiesOrBuilder
Deprecated.Information about this worker's build identifier and if it is choosing to use the versioning feature. See the `WorkerVersionCapabilities` docstring for more. Deprecated. Replaced by deployment_options.
.temporal.api.common.v1.WorkerVersionCapabilities worker_version_capabilities = 4 [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; -
getWorkerHeartbeatList
List<WorkerHeartbeat> getWorkerHeartbeatList()Worker info to be sent to the server.
repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7; -
getWorkerHeartbeat
Worker info to be sent to the server.
repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7; -
getWorkerHeartbeatCount
int getWorkerHeartbeatCount()Worker info to be sent to the server.
repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7; -
getWorkerHeartbeatOrBuilderList
List<? extends WorkerHeartbeatOrBuilder> getWorkerHeartbeatOrBuilderList()Worker info to be sent to the server.
repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7; -
getWorkerHeartbeatOrBuilder
Worker info to be sent to the server.
repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7;
-