Interface PollActivityTaskQueueRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PollActivityTaskQueueRequest, PollActivityTaskQueueRequest.Builder

@Generated(value="protoc", comments="annotations:PollActivityTaskQueueRequestOrBuilder.java.pb.meta") public interface PollActivityTaskQueueRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNamespace

      String getNamespace()
      string namespace = 1;
      Returns:
      The namespace.
    • 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 PollActivityTaskQueueResponse 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 PollActivityTaskQueueResponse 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
       
      string identity = 3;
      Returns:
      The identity.
    • getIdentityBytes

      com.google.protobuf.ByteString getIdentityBytes()
       The identity of the worker/client
       
      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.
    • hasTaskQueueMetadata

      boolean hasTaskQueueMetadata()
      .temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
      Returns:
      Whether the taskQueueMetadata field is set.
    • getTaskQueueMetadata

      TaskQueueMetadata getTaskQueueMetadata()
      .temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
      Returns:
      The taskQueueMetadata.
    • getTaskQueueMetadataOrBuilder

      TaskQueueMetadataOrBuilder getTaskQueueMetadataOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
    • hasWorkerVersionCapabilities

      @Deprecated boolean hasWorkerVersionCapabilities()
      Deprecated.
      temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=533
       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 = 5 [deprecated = true];
      Returns:
      Whether the workerVersionCapabilities field is set.
    • getWorkerVersionCapabilities

      @Deprecated WorkerVersionCapabilities getWorkerVersionCapabilities()
      Deprecated.
      temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=533
       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 = 5 [deprecated = true];
      Returns:
      The workerVersionCapabilities.
    • getWorkerVersionCapabilitiesOrBuilder

      @Deprecated WorkerVersionCapabilitiesOrBuilder 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 = 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;