Class UpdateWorkflowExecutionOptionsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateWorkflowExecutionOptionsRequestOrBuilder, Cloneable
Enclosing class:
UpdateWorkflowExecutionOptionsRequest

public static final class UpdateWorkflowExecutionOptionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder> 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
  • Method Details

    • 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<UpdateWorkflowExecutionOptionsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • setField

      public UpdateWorkflowExecutionOptionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • clearField

      public UpdateWorkflowExecutionOptionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • clearOneof

      public UpdateWorkflowExecutionOptionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • setRepeatedField

      public UpdateWorkflowExecutionOptionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • addRepeatedField

      public UpdateWorkflowExecutionOptionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • mergeFrom

      public UpdateWorkflowExecutionOptionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateWorkflowExecutionOptionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<UpdateWorkflowExecutionOptionsRequest.Builder>
      Throws:
      IOException
    • 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.
    • setNamespace

       The namespace name of the target Workflow.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

       The namespace name of the target Workflow.
       
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public UpdateWorkflowExecutionOptionsRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace name of the target Workflow.
       
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • 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.
    • setWorkflowExecution

       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;
    • setWorkflowExecution

      public UpdateWorkflowExecutionOptionsRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
       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;
    • mergeWorkflowExecution

       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;
    • clearWorkflowExecution

      public UpdateWorkflowExecutionOptionsRequest.Builder clearWorkflowExecution()
       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;
    • getWorkflowExecutionBuilder

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
       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;
    • 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.
    • setWorkflowExecutionOptions

      public UpdateWorkflowExecutionOptionsRequest.Builder setWorkflowExecutionOptions(WorkflowExecutionOptions value)
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
    • setWorkflowExecutionOptions

      public UpdateWorkflowExecutionOptionsRequest.Builder setWorkflowExecutionOptions(WorkflowExecutionOptions.Builder builderForValue)
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
    • mergeWorkflowExecutionOptions

      public UpdateWorkflowExecutionOptionsRequest.Builder mergeWorkflowExecutionOptions(WorkflowExecutionOptions value)
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
    • clearWorkflowExecutionOptions

      public UpdateWorkflowExecutionOptionsRequest.Builder clearWorkflowExecutionOptions()
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
    • getWorkflowExecutionOptionsBuilder

      public WorkflowExecutionOptions.Builder getWorkflowExecutionOptionsBuilder()
       Workflow Execution options. Partial updates are accepted and controlled by update_mask.
       
      .temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;
    • 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.
    • setUpdateMask

      public UpdateWorkflowExecutionOptionsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • setUpdateMask

      public UpdateWorkflowExecutionOptionsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       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;
    • mergeUpdateMask

      public UpdateWorkflowExecutionOptionsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • clearUpdateMask

       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;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       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;
    • 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.
    • setIdentity

       Optional. The identity of the client who initiated this request.
       
      string identity = 5;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

       Optional. The identity of the client who initiated this request.
       
      string identity = 5;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public UpdateWorkflowExecutionOptionsRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       Optional. The identity of the client who initiated this request.
       
      string identity = 5;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UpdateWorkflowExecutionOptionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
    • mergeUnknownFields

      public final UpdateWorkflowExecutionOptionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>