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

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

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

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

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

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

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

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

        public UnpauseWorkflowExecutionRequest.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 UnpauseWorkflowExecutionRequest.Builder clearWorkflowId()
         ID of the workflow execution to be paused. Required.
         
        string workflow_id = 2;
        Returns:
        This builder for chaining.
      • setWorkflowIdBytes

        public UnpauseWorkflowExecutionRequest.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 UnpauseWorkflowExecutionRequestOrBuilder
        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 UnpauseWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public UnpauseWorkflowExecutionRequest.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 UnpauseWorkflowExecutionRequest.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 UnpauseWorkflowExecutionRequest.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.
      • setIdentity

        public UnpauseWorkflowExecutionRequest.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.
      • setIdentityBytes

        public UnpauseWorkflowExecutionRequest.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 UnpauseWorkflowExecutionRequest.Builder setReason​(java.lang.String value)
         Reason to unpause the workflow execution.
         
        string reason = 5;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • setReasonBytes

        public UnpauseWorkflowExecutionRequest.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         Reason to unpause 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 unpause request for idempotence. Typically UUIDv4.
         
        string request_id = 6;
        Specified by:
        getRequestId in interface UnpauseWorkflowExecutionRequestOrBuilder
        Returns:
        The requestId.
      • getRequestIdBytes

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

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

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

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