Class PauseWorkflowExecutionRequest.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<PauseWorkflowExecutionRequest.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<PauseWorkflowExecutionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public PauseWorkflowExecutionRequest.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<PauseWorkflowExecutionRequest.Builder>
      • addRepeatedField

        public PauseWorkflowExecutionRequest.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<PauseWorkflowExecutionRequest.Builder>
      • isInitialized

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

        public PauseWorkflowExecutionRequest.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<PauseWorkflowExecutionRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public PauseWorkflowExecutionRequest.Builder setNamespace​(java.lang.String value)
         Namespace of the workflow to pause.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public PauseWorkflowExecutionRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         Namespace of the workflow to pause.
         
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • getWorkflowIdBytes

        public com.google.protobuf.ByteString getWorkflowIdBytes()
         ID of the workflow execution to be paused. Required.
         
        string workflow_id = 2;
        Specified by:
        getWorkflowIdBytes in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for workflowId.
      • setWorkflowId

        public PauseWorkflowExecutionRequest.Builder setWorkflowId​(java.lang.String value)
         ID of the workflow execution to be paused. Required.
         
        string workflow_id = 2;
        Parameters:
        value - The workflowId to set.
        Returns:
        This builder for chaining.
      • clearWorkflowId

        public PauseWorkflowExecutionRequest.Builder clearWorkflowId()
         ID of the workflow execution to be paused. Required.
         
        string workflow_id = 2;
        Returns:
        This builder for chaining.
      • setWorkflowIdBytes

        public PauseWorkflowExecutionRequest.Builder setWorkflowIdBytes​(com.google.protobuf.ByteString value)
         ID of the workflow execution to be paused. Required.
         
        string workflow_id = 2;
        Parameters:
        value - The bytes for workflowId to set.
        Returns:
        This builder for chaining.
      • getRunId

        public java.lang.String getRunId()
         Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
         
        string run_id = 3;
        Specified by:
        getRunId in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The runId.
      • getRunIdBytes

        public com.google.protobuf.ByteString getRunIdBytes()
         Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
         
        string run_id = 3;
        Specified by:
        getRunIdBytes in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public PauseWorkflowExecutionRequest.Builder setRunId​(java.lang.String value)
         Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
         
        string run_id = 3;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • clearRunId

        public PauseWorkflowExecutionRequest.Builder clearRunId()
         Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
         
        string run_id = 3;
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public PauseWorkflowExecutionRequest.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
         
        string run_id = 3;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • getIdentityBytes

        public com.google.protobuf.ByteString getIdentityBytes()
         The identity of the client who initiated this request.
         
        string identity = 4;
        Specified by:
        getIdentityBytes in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for identity.
      • setIdentity

        public PauseWorkflowExecutionRequest.Builder setIdentity​(java.lang.String value)
         The identity of the client who initiated this request.
         
        string identity = 4;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • clearIdentity

        public PauseWorkflowExecutionRequest.Builder clearIdentity()
         The identity of the client who initiated this request.
         
        string identity = 4;
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public PauseWorkflowExecutionRequest.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         The identity of the client who initiated this request.
         
        string identity = 4;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • setReason

        public PauseWorkflowExecutionRequest.Builder setReason​(java.lang.String value)
         Reason to pause the workflow execution.
         
        string reason = 5;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • setReasonBytes

        public PauseWorkflowExecutionRequest.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         Reason to pause the workflow execution.
         
        string reason = 5;
        Parameters:
        value - The bytes for reason to set.
        Returns:
        This builder for chaining.
      • getRequestId

        public java.lang.String getRequestId()
         A unique identifier for this pause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Specified by:
        getRequestId in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

        public com.google.protobuf.ByteString getRequestIdBytes()
         A unique identifier for this pause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Specified by:
        getRequestIdBytes in interface PauseWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for requestId.
      • setRequestId

        public PauseWorkflowExecutionRequest.Builder setRequestId​(java.lang.String value)
         A unique identifier for this pause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • clearRequestId

        public PauseWorkflowExecutionRequest.Builder clearRequestId()
         A unique identifier for this pause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public PauseWorkflowExecutionRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         A unique identifier for this pause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.