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

        public java.lang.String getBinaryChecksum()
         DEPRECATED since 1.21 - use `worker_version_capabilities` 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;
        Specified by:
        getBinaryChecksum in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        The binaryChecksum.
      • getBinaryChecksumBytes

        public com.google.protobuf.ByteString getBinaryChecksumBytes()
         DEPRECATED since 1.21 - use `worker_version_capabilities` 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;
        Specified by:
        getBinaryChecksumBytes in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        The bytes for binaryChecksum.
      • setBinaryChecksum

        public PollWorkflowTaskQueueRequest.Builder setBinaryChecksum​(java.lang.String value)
         DEPRECATED since 1.21 - use `worker_version_capabilities` 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;
        Parameters:
        value - The binaryChecksum to set.
        Returns:
        This builder for chaining.
      • clearBinaryChecksum

        public PollWorkflowTaskQueueRequest.Builder clearBinaryChecksum()
         DEPRECATED since 1.21 - use `worker_version_capabilities` 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;
        Returns:
        This builder for chaining.
      • setBinaryChecksumBytes

        public PollWorkflowTaskQueueRequest.Builder setBinaryChecksumBytes​(com.google.protobuf.ByteString value)
         DEPRECATED since 1.21 - use `worker_version_capabilities` 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;
        Parameters:
        value - The bytes for binaryChecksum to set.
        Returns:
        This builder for chaining.
      • hasWorkerVersionCapabilities

        public boolean hasWorkerVersionCapabilities()
         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;
        Specified by:
        hasWorkerVersionCapabilities in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        Whether the workerVersionCapabilities field is set.
      • getWorkerVersionCapabilities

        public WorkerVersionCapabilities getWorkerVersionCapabilities()
         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;
        Specified by:
        getWorkerVersionCapabilities in interface PollWorkflowTaskQueueRequestOrBuilder
        Returns:
        The workerVersionCapabilities.
      • setWorkerVersionCapabilities

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

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

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

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

        public WorkerVersionCapabilities.Builder getWorkerVersionCapabilitiesBuilder()
         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;