Class UpdateWorkflowExecutionRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkflowExecutionRequestOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:UpdateWorkflowExecutionRequest.java.pb.meta")
    public final class UpdateWorkflowExecutionRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements UpdateWorkflowExecutionRequestOrBuilder
     (-- api-linter: core::0134=disabled
         aip.dev/not-precedent: Update RPCs don't follow Google API format. --)
     
    Protobuf type temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UpdateWorkflowExecutionRequest.Builder
      (-- api-linter: core::0134=disabled aip.dev/not-precedent: Update RPCs don't follow Google API format.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • WORKFLOW_EXECUTION_FIELD_NUMBER

        public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_EXECUTION_RUN_ID_FIELD_NUMBER

        public static final int FIRST_EXECUTION_RUN_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WAIT_POLICY_FIELD_NUMBER

        public static final int WAIT_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasWorkflowExecution

        public boolean hasWorkflowExecution()
         The target workflow id and (optionally) a specific run thereof
         (-- api-linter: core::0203::optional=disabled
             aip.dev/not-precedent: false positive triggered by the word "optional" --)
         
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
        Specified by:
        hasWorkflowExecution in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        Whether the workflowExecution field is set.
      • getWorkflowExecution

        public WorkflowExecution getWorkflowExecution()
         The target workflow id and (optionally) a specific run thereof
         (-- api-linter: core::0203::optional=disabled
             aip.dev/not-precedent: false positive triggered by the word "optional" --)
         
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
        Specified by:
        getWorkflowExecution in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        The workflowExecution.
      • getFirstExecutionRunId

        public java.lang.String getFirstExecutionRunId()
         If set, this call will error if the most recent (if no run id is set on
         `workflow_execution`), or specified (if it is) workflow execution is not
         part of the same execution chain as this id.
         
        string first_execution_run_id = 3;
        Specified by:
        getFirstExecutionRunId in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        The firstExecutionRunId.
      • getFirstExecutionRunIdBytes

        public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()
         If set, this call will error if the most recent (if no run id is set on
         `workflow_execution`), or specified (if it is) workflow execution is not
         part of the same execution chain as this id.
         
        string first_execution_run_id = 3;
        Specified by:
        getFirstExecutionRunIdBytes in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        The bytes for firstExecutionRunId.
      • hasWaitPolicy

        public boolean hasWaitPolicy()
         Describes when this request should return - basically whether the
         update is synchronous, asynchronous, or somewhere in between.
         
        .temporal.api.update.v1.WaitPolicy wait_policy = 4;
        Specified by:
        hasWaitPolicy in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        Whether the waitPolicy field is set.
      • getWaitPolicy

        public WaitPolicy getWaitPolicy()
         Describes when this request should return - basically whether the
         update is synchronous, asynchronous, or somewhere in between.
         
        .temporal.api.update.v1.WaitPolicy wait_policy = 4;
        Specified by:
        getWaitPolicy in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        The waitPolicy.
      • hasRequest

        public boolean hasRequest()
         The request information that will be delivered all the way down to the
         workflow execution.
         
        .temporal.api.update.v1.Request request = 5;
        Specified by:
        hasRequest in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        Whether the request field is set.
      • getRequest

        public Request getRequest()
         The request information that will be delivered all the way down to the
         workflow execution.
         
        .temporal.api.update.v1.Request request = 5;
        Specified by:
        getRequest in interface UpdateWorkflowExecutionRequestOrBuilder
        Returns:
        The request.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(java.nio.ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(java.nio.ByteBuffer data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(com.google.protobuf.ByteString data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(com.google.protobuf.ByteString data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(byte[] data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(byte[] data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(java.io.InputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UpdateWorkflowExecutionRequest parseDelimitedFrom​(java.io.InputStream input)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UpdateWorkflowExecutionRequest parseDelimitedFrom​(java.io.InputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(com.google.protobuf.CodedInputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UpdateWorkflowExecutionRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public UpdateWorkflowExecutionRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public UpdateWorkflowExecutionRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UpdateWorkflowExecutionRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<UpdateWorkflowExecutionRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UpdateWorkflowExecutionRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder