Class PollWorkflowTaskQueueRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PollWorkflowTaskQueueRequestOrBuilder, Cloneable
Enclosing class:
PollWorkflowTaskQueueRequest

public static final class PollWorkflowTaskQueueRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder> implements PollWorkflowTaskQueueRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • getDefaultInstanceForType

      public PollWorkflowTaskQueueRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PollWorkflowTaskQueueRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • setField

      public PollWorkflowTaskQueueRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • clearField

      public PollWorkflowTaskQueueRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • clearOneof

      public PollWorkflowTaskQueueRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • setRepeatedField

      public PollWorkflowTaskQueueRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • addRepeatedField

      public PollWorkflowTaskQueueRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • mergeFrom

      public PollWorkflowTaskQueueRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • mergeFrom

      public PollWorkflowTaskQueueRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PollWorkflowTaskQueueRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public PollWorkflowTaskQueueRequest.Builder setNamespace(String value)
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public PollWorkflowTaskQueueRequest.Builder clearNamespace()
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public PollWorkflowTaskQueueRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • hasTaskQueue

      public boolean hasTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
      Specified by:
      hasTaskQueue in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      public TaskQueue getTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
      Specified by:
      getTaskQueue in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The taskQueue.
    • setTaskQueue

      public PollWorkflowTaskQueueRequest.Builder setTaskQueue(TaskQueue value)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
    • setTaskQueue

      public PollWorkflowTaskQueueRequest.Builder setTaskQueue(TaskQueue.Builder builderForValue)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
    • mergeTaskQueue

      public PollWorkflowTaskQueueRequest.Builder mergeTaskQueue(TaskQueue value)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
    • clearTaskQueue

      public PollWorkflowTaskQueueRequest.Builder clearTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
    • getTaskQueueBuilder

      public TaskQueue.Builder getTaskQueueBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
    • getTaskQueueOrBuilder

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
      Specified by:
      getTaskQueueOrBuilder in interface PollWorkflowTaskQueueRequestOrBuilder
    • getPollerGroupId

      public 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;
      Specified by:
      getPollerGroupId in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The pollerGroupId.
    • getPollerGroupIdBytes

      public 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;
      Specified by:
      getPollerGroupIdBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for pollerGroupId.
    • setPollerGroupId

      public PollWorkflowTaskQueueRequest.Builder setPollerGroupId(String value)
       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;
      Parameters:
      value - The pollerGroupId to set.
      Returns:
      This builder for chaining.
    • clearPollerGroupId

      public PollWorkflowTaskQueueRequest.Builder clearPollerGroupId()
       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:
      This builder for chaining.
    • setPollerGroupIdBytes

      public PollWorkflowTaskQueueRequest.Builder setPollerGroupIdBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for pollerGroupId to set.
      Returns:
      This builder for chaining.
    • getIdentity

      public String getIdentity()
       The identity of the worker/client who is polling this task queue
       
      string identity = 3;
      Specified by:
      getIdentity in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the worker/client who is polling this task queue
       
      string identity = 3;
      Specified by:
      getIdentityBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public PollWorkflowTaskQueueRequest.Builder setIdentity(String value)
       The identity of the worker/client who is polling this task queue
       
      string identity = 3;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public PollWorkflowTaskQueueRequest.Builder clearIdentity()
       The identity of the worker/client who is polling this task queue
       
      string identity = 3;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public PollWorkflowTaskQueueRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the worker/client who is polling this task queue
       
      string identity = 3;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • getWorkerInstanceKey

      public 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;
      Specified by:
      getWorkerInstanceKey in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The workerInstanceKey.
    • getWorkerInstanceKeyBytes

      public 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;
      Specified by:
      getWorkerInstanceKeyBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for workerInstanceKey.
    • setWorkerInstanceKey

      public PollWorkflowTaskQueueRequest.Builder setWorkerInstanceKey(String value)
       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;
      Parameters:
      value - The workerInstanceKey to set.
      Returns:
      This builder for chaining.
    • clearWorkerInstanceKey

      public PollWorkflowTaskQueueRequest.Builder clearWorkerInstanceKey()
       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:
      This builder for chaining.
    • setWorkerInstanceKeyBytes

      public PollWorkflowTaskQueueRequest.Builder setWorkerInstanceKeyBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for workerInstanceKey to set.
      Returns:
      This builder for chaining.
    • getWorkerControlTaskQueue

      public 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;
      Specified by:
      getWorkerControlTaskQueue in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The workerControlTaskQueue.
    • getWorkerControlTaskQueueBytes

      public 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;
      Specified by:
      getWorkerControlTaskQueueBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for workerControlTaskQueue.
    • setWorkerControlTaskQueue

      public PollWorkflowTaskQueueRequest.Builder setWorkerControlTaskQueue(String value)
       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;
      Parameters:
      value - The workerControlTaskQueue to set.
      Returns:
      This builder for chaining.
    • clearWorkerControlTaskQueue

      public PollWorkflowTaskQueueRequest.Builder clearWorkerControlTaskQueue()
       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:
      This builder for chaining.
    • setWorkerControlTaskQueueBytes

      public PollWorkflowTaskQueueRequest.Builder setWorkerControlTaskQueueBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for workerControlTaskQueue to set.
      Returns:
      This builder for chaining.
    • getBinaryChecksum

      @Deprecated public String getBinaryChecksum()
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299
       Deprecated. 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];
      Specified by:
      getBinaryChecksum in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The binaryChecksum.
    • getBinaryChecksumBytes

      @Deprecated public com.google.protobuf.ByteString getBinaryChecksumBytes()
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299
       Deprecated. 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];
      Specified by:
      getBinaryChecksumBytes in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The bytes for binaryChecksum.
    • setBinaryChecksum

      @Deprecated public PollWorkflowTaskQueueRequest.Builder setBinaryChecksum(String value)
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299
       Deprecated. 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];
      Parameters:
      value - The binaryChecksum to set.
      Returns:
      This builder for chaining.
    • clearBinaryChecksum

      @Deprecated public PollWorkflowTaskQueueRequest.Builder clearBinaryChecksum()
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299
       Deprecated. 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:
      This builder for chaining.
    • setBinaryChecksumBytes

      @Deprecated public PollWorkflowTaskQueueRequest.Builder setBinaryChecksumBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=299
       Deprecated. 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];
      Parameters:
      value - The bytes for binaryChecksum to set.
      Returns:
      This builder for chaining.
    • hasWorkerVersionCapabilities

      @Deprecated public boolean hasWorkerVersionCapabilities()
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=303
       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];
      Specified by:
      hasWorkerVersionCapabilities in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      Whether the workerVersionCapabilities field is set.
    • getWorkerVersionCapabilities

      @Deprecated public WorkerVersionCapabilities getWorkerVersionCapabilities()
      Deprecated.
      temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.worker_version_capabilities is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=303
       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];
      Specified by:
      getWorkerVersionCapabilities in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The workerVersionCapabilities.
    • setWorkerVersionCapabilities

      @Deprecated public PollWorkflowTaskQueueRequest.Builder setWorkerVersionCapabilities(WorkerVersionCapabilities value)
      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];
    • setWorkerVersionCapabilities

      @Deprecated public PollWorkflowTaskQueueRequest.Builder setWorkerVersionCapabilities(WorkerVersionCapabilities.Builder builderForValue)
      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];
    • mergeWorkerVersionCapabilities

      @Deprecated public PollWorkflowTaskQueueRequest.Builder mergeWorkerVersionCapabilities(WorkerVersionCapabilities value)
      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];
    • clearWorkerVersionCapabilities

      @Deprecated public PollWorkflowTaskQueueRequest.Builder clearWorkerVersionCapabilities()
      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];
    • getWorkerVersionCapabilitiesBuilder

      @Deprecated public WorkerVersionCapabilities.Builder getWorkerVersionCapabilitiesBuilder()
      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];
    • getWorkerVersionCapabilitiesOrBuilder

      @Deprecated public WorkerVersionCapabilitiesOrBuilder 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];
      Specified by:
      getWorkerVersionCapabilitiesOrBuilder in interface PollWorkflowTaskQueueRequestOrBuilder
    • hasDeploymentOptions

      public boolean hasDeploymentOptions()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      Specified by:
      hasDeploymentOptions in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      Whether the deploymentOptions field is set.
    • getDeploymentOptions

      public WorkerDeploymentOptions getDeploymentOptions()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      Specified by:
      getDeploymentOptions in interface PollWorkflowTaskQueueRequestOrBuilder
      Returns:
      The deploymentOptions.
    • setDeploymentOptions

       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
    • setDeploymentOptions

      public PollWorkflowTaskQueueRequest.Builder setDeploymentOptions(WorkerDeploymentOptions.Builder builderForValue)
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
    • mergeDeploymentOptions

      public PollWorkflowTaskQueueRequest.Builder mergeDeploymentOptions(WorkerDeploymentOptions value)
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
    • clearDeploymentOptions

      public PollWorkflowTaskQueueRequest.Builder clearDeploymentOptions()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
    • getDeploymentOptionsBuilder

      public WorkerDeploymentOptions.Builder getDeploymentOptionsBuilder()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
    • getDeploymentOptionsOrBuilder

      public WorkerDeploymentOptionsOrBuilder getDeploymentOptionsOrBuilder()
       Worker deployment options that user has set in the worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      Specified by:
      getDeploymentOptionsOrBuilder in interface PollWorkflowTaskQueueRequestOrBuilder
    • setUnknownFields

      public final PollWorkflowTaskQueueRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
    • mergeUnknownFields

      public final PollWorkflowTaskQueueRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>