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

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

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

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

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

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

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

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

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

        public WorkflowExecution.Builder getWorkflowExecutionBuilder()
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
      • getSignalName

        public java.lang.String getSignalName()
         The workflow author-defined name of the signal to send to the workflow
         
        string signal_name = 3;
        Specified by:
        getSignalName in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        The signalName.
      • getSignalNameBytes

        public com.google.protobuf.ByteString getSignalNameBytes()
         The workflow author-defined name of the signal to send to the workflow
         
        string signal_name = 3;
        Specified by:
        getSignalNameBytes in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for signalName.
      • setSignalName

        public SignalWorkflowExecutionRequest.Builder setSignalName​(java.lang.String value)
         The workflow author-defined name of the signal to send to the workflow
         
        string signal_name = 3;
        Parameters:
        value - The signalName to set.
        Returns:
        This builder for chaining.
      • clearSignalName

        public SignalWorkflowExecutionRequest.Builder clearSignalName()
         The workflow author-defined name of the signal to send to the workflow
         
        string signal_name = 3;
        Returns:
        This builder for chaining.
      • setSignalNameBytes

        public SignalWorkflowExecutionRequest.Builder setSignalNameBytes​(com.google.protobuf.ByteString value)
         The workflow author-defined name of the signal to send to the workflow
         
        string signal_name = 3;
        Parameters:
        value - The bytes for signalName to set.
        Returns:
        This builder for chaining.
      • hasInput

        public boolean hasInput()
         Serialized value(s) to provide with the signal
         
        .temporal.api.common.v1.Payloads input = 4;
        Specified by:
        hasInput in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        Whether the input field is set.
      • getInputBuilder

        public Payloads.Builder getInputBuilder()
         Serialized value(s) to provide with the signal
         
        .temporal.api.common.v1.Payloads input = 4;
      • setIdentity

        public SignalWorkflowExecutionRequest.Builder setIdentity​(java.lang.String value)
         The identity of the worker/client
         
        string identity = 5;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public SignalWorkflowExecutionRequest.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         The identity of the worker/client
         
        string identity = 5;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • setRequestId

        public SignalWorkflowExecutionRequest.Builder setRequestId​(java.lang.String value)
         Used to de-dupe sent signals
         
        string request_id = 6;
        Parameters:
        value - The requestId to set.
        Returns:
        This builder for chaining.
      • setRequestIdBytes

        public SignalWorkflowExecutionRequest.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)
         Used to de-dupe sent signals
         
        string request_id = 6;
        Parameters:
        value - The bytes for requestId to set.
        Returns:
        This builder for chaining.
      • getControl

        @Deprecated
        public java.lang.String getControl()
        Deprecated.
        temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.control is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=720
         Deprecated.
         
        string control = 7 [deprecated = true];
        Specified by:
        getControl in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        The control.
      • getControlBytes

        @Deprecated
        public com.google.protobuf.ByteString getControlBytes()
        Deprecated.
        temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.control is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=720
         Deprecated.
         
        string control = 7 [deprecated = true];
        Specified by:
        getControlBytes in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for control.
      • setControl

        @Deprecated
        public SignalWorkflowExecutionRequest.Builder setControl​(java.lang.String value)
        Deprecated.
        temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.control is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=720
         Deprecated.
         
        string control = 7 [deprecated = true];
        Parameters:
        value - The control to set.
        Returns:
        This builder for chaining.
      • clearControl

        @Deprecated
        public SignalWorkflowExecutionRequest.Builder clearControl()
        Deprecated.
        temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.control is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=720
         Deprecated.
         
        string control = 7 [deprecated = true];
        Returns:
        This builder for chaining.
      • setControlBytes

        @Deprecated
        public SignalWorkflowExecutionRequest.Builder setControlBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.control is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=720
         Deprecated.
         
        string control = 7 [deprecated = true];
        Parameters:
        value - The bytes for control to set.
        Returns:
        This builder for chaining.
      • hasHeader

        public boolean hasHeader()
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
        Specified by:
        hasHeader in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        Whether the header field is set.
      • getHeader

        public Header getHeader()
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
        Specified by:
        getHeader in interface SignalWorkflowExecutionRequestOrBuilder
        Returns:
        The header.
      • setHeader

        public SignalWorkflowExecutionRequest.Builder setHeader​(Header value)
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
      • setHeader

        public SignalWorkflowExecutionRequest.Builder setHeader​(Header.Builder builderForValue)
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
      • mergeHeader

        public SignalWorkflowExecutionRequest.Builder mergeHeader​(Header value)
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
      • clearHeader

        public SignalWorkflowExecutionRequest.Builder clearHeader()
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
      • getHeaderBuilder

        public Header.Builder getHeaderBuilder()
         Headers that are passed with the signal to the processing workflow.
         These can include things like auth or tracing tokens.
         
        .temporal.api.common.v1.Header header = 8;
      • setLinks

        public SignalWorkflowExecutionRequest.Builder setLinks​(int index,
                                                               Link value)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • addLinks

        public SignalWorkflowExecutionRequest.Builder addLinks​(int index,
                                                               Link value)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • addAllLinks

        public SignalWorkflowExecutionRequest.Builder addAllLinks​(java.lang.Iterable<? extends Link> values)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • removeLinks

        public SignalWorkflowExecutionRequest.Builder removeLinks​(int index)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • getLinksBuilder

        public Link.Builder getLinksBuilder​(int index)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • addLinksBuilder

        public Link.Builder addLinksBuilder()
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • addLinksBuilder

        public Link.Builder addLinksBuilder​(int index)
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;
      • getLinksBuilderList

        public java.util.List<Link.Builder> getLinksBuilderList()
         Links to be associated with the WorkflowExecutionSignaled event.
         
        repeated .temporal.api.common.v1.Link links = 10;