Class NewWorkflowExecutionInfo.Builder

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

public static final class NewWorkflowExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NewWorkflowExecutionInfo.Builder> implements NewWorkflowExecutionInfoOrBuilder
 NewWorkflowExecutionInfo is a shared message that encapsulates all the
 required arguments to starting a workflow in different contexts.
 
Protobuf type temporal.api.workflow.v1.NewWorkflowExecutionInfo
  • 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<NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • getDefaultInstanceForType

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

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

      public NewWorkflowExecutionInfo 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<NewWorkflowExecutionInfo.Builder>
    • setField

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • clearField

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • clearOneof

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • setRepeatedField

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • addRepeatedField

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • mergeFrom

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • mergeFrom

      public NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
      Throws:
      IOException
    • getWorkflowId

      public String getWorkflowId()
      string workflow_id = 1;
      Specified by:
      getWorkflowId in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      public com.google.protobuf.ByteString getWorkflowIdBytes()
      string workflow_id = 1;
      Specified by:
      getWorkflowIdBytes in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for workflowId.
    • setWorkflowId

      public NewWorkflowExecutionInfo.Builder setWorkflowId(String value)
      string workflow_id = 1;
      Parameters:
      value - The workflowId to set.
      Returns:
      This builder for chaining.
    • clearWorkflowId

      public NewWorkflowExecutionInfo.Builder clearWorkflowId()
      string workflow_id = 1;
      Returns:
      This builder for chaining.
    • setWorkflowIdBytes

      public NewWorkflowExecutionInfo.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
      string workflow_id = 1;
      Parameters:
      value - The bytes for workflowId to set.
      Returns:
      This builder for chaining.
    • hasWorkflowType

      public boolean hasWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      hasWorkflowType in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      public WorkflowType getWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      getWorkflowType in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowType.
    • setWorkflowType

      public NewWorkflowExecutionInfo.Builder setWorkflowType(WorkflowType value)
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • setWorkflowType

      public NewWorkflowExecutionInfo.Builder setWorkflowType(WorkflowType.Builder builderForValue)
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • mergeWorkflowType

      public NewWorkflowExecutionInfo.Builder mergeWorkflowType(WorkflowType value)
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • clearWorkflowType

      public NewWorkflowExecutionInfo.Builder clearWorkflowType()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • getWorkflowTypeBuilder

      public WorkflowType.Builder getWorkflowTypeBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
    • getWorkflowTypeOrBuilder

      public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
      .temporal.api.common.v1.WorkflowType workflow_type = 2;
      Specified by:
      getWorkflowTypeOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasTaskQueue

      public boolean hasTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
      Specified by:
      hasTaskQueue in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      public TaskQueue getTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
      Specified by:
      getTaskQueue in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The taskQueue.
    • setTaskQueue

      public NewWorkflowExecutionInfo.Builder setTaskQueue(TaskQueue value)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • setTaskQueue

      public NewWorkflowExecutionInfo.Builder setTaskQueue(TaskQueue.Builder builderForValue)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • mergeTaskQueue

      public NewWorkflowExecutionInfo.Builder mergeTaskQueue(TaskQueue value)
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • clearTaskQueue

      public NewWorkflowExecutionInfo.Builder clearTaskQueue()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • getTaskQueueBuilder

      public TaskQueue.Builder getTaskQueueBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
    • getTaskQueueOrBuilder

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 3;
      Specified by:
      getTaskQueueOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasInput

      public boolean hasInput()
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
      Specified by:
      hasInput in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Payloads getInput()
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
      Specified by:
      getInput in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The input.
    • setInput

      public NewWorkflowExecutionInfo.Builder setInput(Payloads value)
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
    • setInput

      public NewWorkflowExecutionInfo.Builder setInput(Payloads.Builder builderForValue)
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
    • mergeInput

      public NewWorkflowExecutionInfo.Builder mergeInput(Payloads value)
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
    • clearInput

      public NewWorkflowExecutionInfo.Builder clearInput()
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
    • getInputBuilder

      public Payloads.Builder getInputBuilder()
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
    • getInputOrBuilder

      public PayloadsOrBuilder getInputOrBuilder()
       Serialized arguments to the workflow.
       
      .temporal.api.common.v1.Payloads input = 4;
      Specified by:
      getInputOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasWorkflowExecutionTimeout

      public boolean hasWorkflowExecutionTimeout()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
      Specified by:
      hasWorkflowExecutionTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the workflowExecutionTimeout field is set.
    • getWorkflowExecutionTimeout

      public com.google.protobuf.Duration getWorkflowExecutionTimeout()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
      Specified by:
      getWorkflowExecutionTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowExecutionTimeout.
    • setWorkflowExecutionTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
    • setWorkflowExecutionTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
    • mergeWorkflowExecutionTimeout

      public NewWorkflowExecutionInfo.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
    • clearWorkflowExecutionTimeout

      public NewWorkflowExecutionInfo.Builder clearWorkflowExecutionTimeout()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
    • getWorkflowExecutionTimeoutBuilder

      public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
    • getWorkflowExecutionTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
       Total workflow execution timeout including retries and continue as new.
       
      .google.protobuf.Duration workflow_execution_timeout = 5;
      Specified by:
      getWorkflowExecutionTimeoutOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasWorkflowRunTimeout

      public boolean hasWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
      Specified by:
      hasWorkflowRunTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the workflowRunTimeout field is set.
    • getWorkflowRunTimeout

      public com.google.protobuf.Duration getWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
      Specified by:
      getWorkflowRunTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowRunTimeout.
    • setWorkflowRunTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
    • setWorkflowRunTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
    • mergeWorkflowRunTimeout

      public NewWorkflowExecutionInfo.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
    • clearWorkflowRunTimeout

      public NewWorkflowExecutionInfo.Builder clearWorkflowRunTimeout()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
    • getWorkflowRunTimeoutBuilder

      public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
    • getWorkflowRunTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
       Timeout of a single workflow run.
       
      .google.protobuf.Duration workflow_run_timeout = 6;
      Specified by:
      getWorkflowRunTimeoutOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasWorkflowTaskTimeout

      public boolean hasWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
      Specified by:
      hasWorkflowTaskTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the workflowTaskTimeout field is set.
    • getWorkflowTaskTimeout

      public com.google.protobuf.Duration getWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
      Specified by:
      getWorkflowTaskTimeout in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowTaskTimeout.
    • setWorkflowTaskTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration value)
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
    • setWorkflowTaskTimeout

      public NewWorkflowExecutionInfo.Builder setWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
    • mergeWorkflowTaskTimeout

      public NewWorkflowExecutionInfo.Builder mergeWorkflowTaskTimeout(com.google.protobuf.Duration value)
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
    • clearWorkflowTaskTimeout

      public NewWorkflowExecutionInfo.Builder clearWorkflowTaskTimeout()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
    • getWorkflowTaskTimeoutBuilder

      public com.google.protobuf.Duration.Builder getWorkflowTaskTimeoutBuilder()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
    • getWorkflowTaskTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowTaskTimeoutOrBuilder()
       Timeout of a single workflow task.
       
      .google.protobuf.Duration workflow_task_timeout = 7;
      Specified by:
      getWorkflowTaskTimeoutOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • getWorkflowIdReusePolicyValue

      public int getWorkflowIdReusePolicyValue()
       Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
      Specified by:
      getWorkflowIdReusePolicyValue in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for workflowIdReusePolicy.
    • setWorkflowIdReusePolicyValue

      public NewWorkflowExecutionInfo.Builder setWorkflowIdReusePolicyValue(int value)
       Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
      Parameters:
      value - The enum numeric value on the wire for workflowIdReusePolicy to set.
      Returns:
      This builder for chaining.
    • getWorkflowIdReusePolicy

      public WorkflowIdReusePolicy getWorkflowIdReusePolicy()
       Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
      Specified by:
      getWorkflowIdReusePolicy in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The workflowIdReusePolicy.
    • setWorkflowIdReusePolicy

      public NewWorkflowExecutionInfo.Builder setWorkflowIdReusePolicy(WorkflowIdReusePolicy value)
       Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
      Parameters:
      value - The workflowIdReusePolicy to set.
      Returns:
      This builder for chaining.
    • clearWorkflowIdReusePolicy

      public NewWorkflowExecutionInfo.Builder clearWorkflowIdReusePolicy()
       Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 8;
      Returns:
      This builder for chaining.
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
      Specified by:
      hasRetryPolicy in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
      Specified by:
      getRetryPolicy in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

      public NewWorkflowExecutionInfo.Builder setRetryPolicy(RetryPolicy value)
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
    • setRetryPolicy

      public NewWorkflowExecutionInfo.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
    • mergeRetryPolicy

      public NewWorkflowExecutionInfo.Builder mergeRetryPolicy(RetryPolicy value)
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
    • clearRetryPolicy

      public NewWorkflowExecutionInfo.Builder clearRetryPolicy()
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
    • getRetryPolicyBuilder

      public RetryPolicy.Builder getRetryPolicyBuilder()
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 9;
      Specified by:
      getRetryPolicyOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • getCronSchedule

      public String getCronSchedule()
       See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
       
      string cron_schedule = 10;
      Specified by:
      getCronSchedule in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The cronSchedule.
    • getCronScheduleBytes

      public com.google.protobuf.ByteString getCronScheduleBytes()
       See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
       
      string cron_schedule = 10;
      Specified by:
      getCronScheduleBytes in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The bytes for cronSchedule.
    • setCronSchedule

      public NewWorkflowExecutionInfo.Builder setCronSchedule(String value)
       See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
       
      string cron_schedule = 10;
      Parameters:
      value - The cronSchedule to set.
      Returns:
      This builder for chaining.
    • clearCronSchedule

      public NewWorkflowExecutionInfo.Builder clearCronSchedule()
       See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
       
      string cron_schedule = 10;
      Returns:
      This builder for chaining.
    • setCronScheduleBytes

      public NewWorkflowExecutionInfo.Builder setCronScheduleBytes(com.google.protobuf.ByteString value)
       See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
       
      string cron_schedule = 10;
      Parameters:
      value - The bytes for cronSchedule to set.
      Returns:
      This builder for chaining.
    • hasMemo

      public boolean hasMemo()
      .temporal.api.common.v1.Memo memo = 11;
      Specified by:
      hasMemo in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the memo field is set.
    • getMemo

      public Memo getMemo()
      .temporal.api.common.v1.Memo memo = 11;
      Specified by:
      getMemo in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The memo.
    • setMemo

      public NewWorkflowExecutionInfo.Builder setMemo(Memo value)
      .temporal.api.common.v1.Memo memo = 11;
    • setMemo

      public NewWorkflowExecutionInfo.Builder setMemo(Memo.Builder builderForValue)
      .temporal.api.common.v1.Memo memo = 11;
    • mergeMemo

      public NewWorkflowExecutionInfo.Builder mergeMemo(Memo value)
      .temporal.api.common.v1.Memo memo = 11;
    • clearMemo

      .temporal.api.common.v1.Memo memo = 11;
    • getMemoBuilder

      public Memo.Builder getMemoBuilder()
      .temporal.api.common.v1.Memo memo = 11;
    • getMemoOrBuilder

      public MemoOrBuilder getMemoOrBuilder()
      .temporal.api.common.v1.Memo memo = 11;
      Specified by:
      getMemoOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasSearchAttributes

      public boolean hasSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
      Specified by:
      hasSearchAttributes in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
      Specified by:
      getSearchAttributes in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The searchAttributes.
    • setSearchAttributes

      public NewWorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
    • setSearchAttributes

      public NewWorkflowExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
    • mergeSearchAttributes

      public NewWorkflowExecutionInfo.Builder mergeSearchAttributes(SearchAttributes value)
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
    • clearSearchAttributes

      public NewWorkflowExecutionInfo.Builder clearSearchAttributes()
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
    • getSearchAttributesBuilder

      public SearchAttributes.Builder getSearchAttributesBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
      .temporal.api.common.v1.SearchAttributes search_attributes = 12;
      Specified by:
      getSearchAttributesOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasHeader

      public boolean hasHeader()
      .temporal.api.common.v1.Header header = 13;
      Specified by:
      hasHeader in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public Header getHeader()
      .temporal.api.common.v1.Header header = 13;
      Specified by:
      getHeader in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The header.
    • setHeader

      public NewWorkflowExecutionInfo.Builder setHeader(Header value)
      .temporal.api.common.v1.Header header = 13;
    • setHeader

      public NewWorkflowExecutionInfo.Builder setHeader(Header.Builder builderForValue)
      .temporal.api.common.v1.Header header = 13;
    • mergeHeader

      public NewWorkflowExecutionInfo.Builder mergeHeader(Header value)
      .temporal.api.common.v1.Header header = 13;
    • clearHeader

      public NewWorkflowExecutionInfo.Builder clearHeader()
      .temporal.api.common.v1.Header header = 13;
    • getHeaderBuilder

      public Header.Builder getHeaderBuilder()
      .temporal.api.common.v1.Header header = 13;
    • getHeaderOrBuilder

      public HeaderOrBuilder getHeaderOrBuilder()
      .temporal.api.common.v1.Header header = 13;
      Specified by:
      getHeaderOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasUserMetadata

      public boolean hasUserMetadata()
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
      Specified by:
      hasUserMetadata in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the userMetadata field is set.
    • getUserMetadata

      public UserMetadata getUserMetadata()
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
      Specified by:
      getUserMetadata in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The userMetadata.
    • setUserMetadata

      public NewWorkflowExecutionInfo.Builder setUserMetadata(UserMetadata value)
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
    • setUserMetadata

      public NewWorkflowExecutionInfo.Builder setUserMetadata(UserMetadata.Builder builderForValue)
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
    • mergeUserMetadata

      public NewWorkflowExecutionInfo.Builder mergeUserMetadata(UserMetadata value)
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
    • clearUserMetadata

      public NewWorkflowExecutionInfo.Builder clearUserMetadata()
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
    • getUserMetadataBuilder

      public UserMetadata.Builder getUserMetadataBuilder()
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
    • getUserMetadataOrBuilder

      public UserMetadataOrBuilder getUserMetadataOrBuilder()
       Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
       for use by user interfaces to display the fixed as-of-start summary and details of the
       workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 14;
      Specified by:
      getUserMetadataOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasVersioningOverride

      public boolean hasVersioningOverride()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
      Specified by:
      hasVersioningOverride in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the versioningOverride field is set.
    • getVersioningOverride

      public VersioningOverride getVersioningOverride()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
      Specified by:
      getVersioningOverride in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The versioningOverride.
    • setVersioningOverride

      public NewWorkflowExecutionInfo.Builder setVersioningOverride(VersioningOverride value)
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
    • setVersioningOverride

      public NewWorkflowExecutionInfo.Builder setVersioningOverride(VersioningOverride.Builder builderForValue)
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
    • mergeVersioningOverride

      public NewWorkflowExecutionInfo.Builder mergeVersioningOverride(VersioningOverride value)
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
    • clearVersioningOverride

      public NewWorkflowExecutionInfo.Builder clearVersioningOverride()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
    • getVersioningOverrideBuilder

      public VersioningOverride.Builder getVersioningOverrideBuilder()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
    • getVersioningOverrideOrBuilder

      public VersioningOverrideOrBuilder getVersioningOverrideOrBuilder()
       If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
       To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
       
      .temporal.api.workflow.v1.VersioningOverride versioning_override = 15;
      Specified by:
      getVersioningOverrideOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • hasPriority

      public boolean hasPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
      Specified by:
      hasPriority in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
      Specified by:
      getPriority in interface NewWorkflowExecutionInfoOrBuilder
      Returns:
      The priority.
    • setPriority

      public NewWorkflowExecutionInfo.Builder setPriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
    • setPriority

      public NewWorkflowExecutionInfo.Builder setPriority(Priority.Builder builderForValue)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
    • mergePriority

      public NewWorkflowExecutionInfo.Builder mergePriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
    • clearPriority

      public NewWorkflowExecutionInfo.Builder clearPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
    • getPriorityBuilder

      public Priority.Builder getPriorityBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 16;
      Specified by:
      getPriorityOrBuilder in interface NewWorkflowExecutionInfoOrBuilder
    • setUnknownFields

      public final NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>
    • mergeUnknownFields

      public final NewWorkflowExecutionInfo.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<NewWorkflowExecutionInfo.Builder>