Class PollWorkflowTaskQueueRequest.Builder

    • Method Detail

      • 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>
      • 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

        public PollWorkflowTaskQueueRequest 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
      • setRepeatedField

        public PollWorkflowTaskQueueRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     int index,
                                                                     java.lang.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,
                                                                     java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollWorkflowTaskQueueRequest.Builder>
      • 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 java.io.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:
        java.io.IOException
      • setNamespace

        public PollWorkflowTaskQueueRequest.Builder setNamespace​(java.lang.String value)
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        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.
      • getTaskQueueBuilder

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

        public java.lang.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​(java.lang.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.
      • getBinaryChecksum

        @Deprecated
        public java.lang.String getBinaryChecksum()
        Deprecated.
        temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=261
         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=261
         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​(java.lang.String value)
        Deprecated.
        temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=261
         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=261
         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=261
         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=265
         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=265
         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.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
        Specified by:
        getDeploymentOptions in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        The deploymentOptions.
      • setDeploymentOptions

        public PollWorkflowTaskQueueRequest.Builder setDeploymentOptions​(WorkerDeploymentOptions value)
         Worker deployment options that user has set in the worker.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .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.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      • clearDeploymentOptions

        public PollWorkflowTaskQueueRequest.Builder clearDeploymentOptions()
         Worker deployment options that user has set in the worker.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      • getDeploymentOptionsBuilder

        public WorkerDeploymentOptions.Builder getDeploymentOptionsBuilder()
         Worker deployment options that user has set in the worker.
         Experimental. Worker Deployments are experimental and might significantly change in the future.
         
        .temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 6;
      • hasWorkerHeartbeat

        public boolean hasWorkerHeartbeat()
         Worker info to be sent to the server.
         
        .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7;
        Specified by:
        hasWorkerHeartbeat in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        Whether the workerHeartbeat field is set.
      • clearWorkerHeartbeat

        public PollWorkflowTaskQueueRequest.Builder clearWorkerHeartbeat()
         Worker info to be sent to the server.
         
        .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7;
      • getWorkerHeartbeatBuilder

        public WorkerHeartbeat.Builder getWorkerHeartbeatBuilder()
         Worker info to be sent to the server.
         
        .temporal.api.worker.v1.WorkerHeartbeat worker_heartbeat = 7;