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

      @Deprecated WorkerVersionCapabilities getWorkerVersionCapabilities()
      Deprecated.
      temporal.api.workflowservice.v1.PollNexusTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=2021
       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];
      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 = 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

      WorkerHeartbeat getWorkerHeartbeat(int index)
       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

      WorkerHeartbeatOrBuilder getWorkerHeartbeatOrBuilder(int index)
       Worker info to be sent to the server.
       
      repeated .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7;