Class UpdateWorkflowExecutionRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkflowExecutionRequestOrBuilder, 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:
  • Field Details

    • NAMESPACE_FIELD_NUMBER

      public static final int NAMESPACE_FIELD_NUMBER
      See Also:
    • WORKFLOW_EXECUTION_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_FIELD_NUMBER
      See Also:
    • FIRST_EXECUTION_RUN_ID_FIELD_NUMBER

      public static final int FIRST_EXECUTION_RUN_ID_FIELD_NUMBER
      See Also:
    • WAIT_POLICY_FIELD_NUMBER

      public static final int WAIT_POLICY_FIELD_NUMBER
      See Also:
    • REQUEST_FIELD_NUMBER

      public static final int REQUEST_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getNamespace

      public String getNamespace()
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The bytes for namespace.
    • hasWorkflowExecution

      public boolean hasWorkflowExecution()
       The target Workflow Id and (optionally) a specific Run Id 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 Id 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.
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
       The target Workflow Id and (optionally) a specific Run Id 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:
      getWorkflowExecutionOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • getFirstExecutionRunId

      public 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()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .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()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
      Specified by:
      getWaitPolicy in interface UpdateWorkflowExecutionRequestOrBuilder
      Returns:
      The waitPolicy.
    • getWaitPolicyOrBuilder

      public WaitPolicyOrBuilder getWaitPolicyOrBuilder()
       Specifies client's intent to wait for Update results.
       NOTE: This field works together with API call timeout which is limited by
       server timeout (maximum wait time). If server timeout is expired before
       user specified timeout, API call returns even if specified stage is not reached.
       Actual reached stage will be included in the response.
       
      .temporal.api.update.v1.WaitPolicy wait_policy = 4;
      Specified by:
      getWaitPolicyOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • 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.
    • getRequestOrBuilder

      public RequestOrBuilder getRequestOrBuilder()
       The request information that will be delivered all the way down to the
       Workflow Execution.
       
      .temporal.api.update.v1.Request request = 5;
      Specified by:
      getRequestOrBuilder in interface UpdateWorkflowExecutionRequestOrBuilder
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateWorkflowExecutionRequest parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static UpdateWorkflowExecutionRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static UpdateWorkflowExecutionRequest.Builder newBuilder()
    • newBuilder

    • 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
    • getDefaultInstance

      public static UpdateWorkflowExecutionRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateWorkflowExecutionRequest> parser()
    • 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