Class UpdateWorkflowExecutionOptionsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkflowExecutionOptionsRequestOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:UpdateWorkflowExecutionOptionsRequest.java.pb.meta") public final class UpdateWorkflowExecutionOptionsRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateWorkflowExecutionOptionsRequestOrBuilder
 Keep the parameters in sync with:
   - temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions.
   - temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions.
 
Protobuf type temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest
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:
    • WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER

      public static final int WORKFLOW_EXECUTION_OPTIONS_FIELD_NUMBER
      See Also:
    • UPDATE_MASK_FIELD_NUMBER

      public static final int UPDATE_MASK_FIELD_NUMBER
      See Also:
    • IDENTITY_FIELD_NUMBER

      public static final int IDENTITY_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 UpdateWorkflowExecutionOptionsRequestOrBuilder
      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 UpdateWorkflowExecutionOptionsRequestOrBuilder
      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 UpdateWorkflowExecutionOptionsRequestOrBuilder
      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 UpdateWorkflowExecutionOptionsRequestOrBuilder
      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 UpdateWorkflowExecutionOptionsRequestOrBuilder
    • hasWorkflowExecutionOptions

      public boolean hasWorkflowExecutionOptions()
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
      Specified by:
      hasWorkflowExecutionOptions in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      Whether the workflowExecutionOptions field is set.
    • getWorkflowExecutionOptions

      public WorkflowExecutionOptions getWorkflowExecutionOptions()
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
      Specified by:
      getWorkflowExecutionOptions in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      The workflowExecutionOptions.
    • getWorkflowExecutionOptionsOrBuilder

      public WorkflowExecutionOptionsOrBuilder getWorkflowExecutionOptionsOrBuilder()
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
      Specified by:
      getWorkflowExecutionOptionsOrBuilder in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Controls which fields from `workflow_execution_options` will be applied.
       To unset a field, set it to null and use the update mask to indicate that it should be mutated.
       
      .google.protobuf.FieldMask update_mask = 4;
      Specified by:
      hasUpdateMask in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Controls which fields from `workflow_execution_options` will be applied.
       To unset a field, set it to null and use the update mask to indicate that it should be mutated.
       
      .google.protobuf.FieldMask update_mask = 4;
      Specified by:
      getUpdateMask in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Controls which fields from `workflow_execution_options` will be applied.
       To unset a field, set it to null and use the update mask to indicate that it should be mutated.
       
      .google.protobuf.FieldMask update_mask = 4;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
    • getIdentity

      public String getIdentity()
       Optional. The identity of the client who initiated this request.
       
      string identity = 5;
      Specified by:
      getIdentity in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       Optional. The identity of the client who initiated this request.
       
      string identity = 5;
      Specified by:
      getIdentityBytes in interface UpdateWorkflowExecutionOptionsRequestOrBuilder
      Returns:
      The bytes for identity.
    • 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 UpdateWorkflowExecutionOptionsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateWorkflowExecutionOptionsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static UpdateWorkflowExecutionOptionsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateWorkflowExecutionOptionsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static UpdateWorkflowExecutionOptionsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateWorkflowExecutionOptionsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateWorkflowExecutionOptionsRequest> 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 UpdateWorkflowExecutionOptionsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder