Class WorkflowExecutionConfig.Builder

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

public static final class WorkflowExecutionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionConfig.Builder> implements WorkflowExecutionConfigOrBuilder
Protobuf type temporal.api.workflow.v1.WorkflowExecutionConfig
  • 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<WorkflowExecutionConfig.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<WorkflowExecutionConfig.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<WorkflowExecutionConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public WorkflowExecutionConfig.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<WorkflowExecutionConfig.Builder>
      Throws:
      IOException
    • hasTaskQueue

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

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

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

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

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

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

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

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
      Specified by:
      getTaskQueueOrBuilder in interface WorkflowExecutionConfigOrBuilder
    • hasWorkflowExecutionTimeout

      public boolean hasWorkflowExecutionTimeout()
      .google.protobuf.Duration workflow_execution_timeout = 2;
      Specified by:
      hasWorkflowExecutionTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      Whether the workflowExecutionTimeout field is set.
    • getWorkflowExecutionTimeout

      public com.google.protobuf.Duration getWorkflowExecutionTimeout()
      .google.protobuf.Duration workflow_execution_timeout = 2;
      Specified by:
      getWorkflowExecutionTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      The workflowExecutionTimeout.
    • setWorkflowExecutionTimeout

      public WorkflowExecutionConfig.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration workflow_execution_timeout = 2;
    • setWorkflowExecutionTimeout

      public WorkflowExecutionConfig.Builder setWorkflowExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration workflow_execution_timeout = 2;
    • mergeWorkflowExecutionTimeout

      public WorkflowExecutionConfig.Builder mergeWorkflowExecutionTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration workflow_execution_timeout = 2;
    • clearWorkflowExecutionTimeout

      public WorkflowExecutionConfig.Builder clearWorkflowExecutionTimeout()
      .google.protobuf.Duration workflow_execution_timeout = 2;
    • getWorkflowExecutionTimeoutBuilder

      public com.google.protobuf.Duration.Builder getWorkflowExecutionTimeoutBuilder()
      .google.protobuf.Duration workflow_execution_timeout = 2;
    • getWorkflowExecutionTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowExecutionTimeoutOrBuilder()
      .google.protobuf.Duration workflow_execution_timeout = 2;
      Specified by:
      getWorkflowExecutionTimeoutOrBuilder in interface WorkflowExecutionConfigOrBuilder
    • hasWorkflowRunTimeout

      public boolean hasWorkflowRunTimeout()
      .google.protobuf.Duration workflow_run_timeout = 3;
      Specified by:
      hasWorkflowRunTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      Whether the workflowRunTimeout field is set.
    • getWorkflowRunTimeout

      public com.google.protobuf.Duration getWorkflowRunTimeout()
      .google.protobuf.Duration workflow_run_timeout = 3;
      Specified by:
      getWorkflowRunTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      The workflowRunTimeout.
    • setWorkflowRunTimeout

      public WorkflowExecutionConfig.Builder setWorkflowRunTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration workflow_run_timeout = 3;
    • setWorkflowRunTimeout

      public WorkflowExecutionConfig.Builder setWorkflowRunTimeout(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration workflow_run_timeout = 3;
    • mergeWorkflowRunTimeout

      public WorkflowExecutionConfig.Builder mergeWorkflowRunTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration workflow_run_timeout = 3;
    • clearWorkflowRunTimeout

      public WorkflowExecutionConfig.Builder clearWorkflowRunTimeout()
      .google.protobuf.Duration workflow_run_timeout = 3;
    • getWorkflowRunTimeoutBuilder

      public com.google.protobuf.Duration.Builder getWorkflowRunTimeoutBuilder()
      .google.protobuf.Duration workflow_run_timeout = 3;
    • getWorkflowRunTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getWorkflowRunTimeoutOrBuilder()
      .google.protobuf.Duration workflow_run_timeout = 3;
      Specified by:
      getWorkflowRunTimeoutOrBuilder in interface WorkflowExecutionConfigOrBuilder
    • hasDefaultWorkflowTaskTimeout

      public boolean hasDefaultWorkflowTaskTimeout()
      .google.protobuf.Duration default_workflow_task_timeout = 4;
      Specified by:
      hasDefaultWorkflowTaskTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      Whether the defaultWorkflowTaskTimeout field is set.
    • getDefaultWorkflowTaskTimeout

      public com.google.protobuf.Duration getDefaultWorkflowTaskTimeout()
      .google.protobuf.Duration default_workflow_task_timeout = 4;
      Specified by:
      getDefaultWorkflowTaskTimeout in interface WorkflowExecutionConfigOrBuilder
      Returns:
      The defaultWorkflowTaskTimeout.
    • setDefaultWorkflowTaskTimeout

      public WorkflowExecutionConfig.Builder setDefaultWorkflowTaskTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration default_workflow_task_timeout = 4;
    • setDefaultWorkflowTaskTimeout

      public WorkflowExecutionConfig.Builder setDefaultWorkflowTaskTimeout(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration default_workflow_task_timeout = 4;
    • mergeDefaultWorkflowTaskTimeout

      public WorkflowExecutionConfig.Builder mergeDefaultWorkflowTaskTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration default_workflow_task_timeout = 4;
    • clearDefaultWorkflowTaskTimeout

      public WorkflowExecutionConfig.Builder clearDefaultWorkflowTaskTimeout()
      .google.protobuf.Duration default_workflow_task_timeout = 4;
    • getDefaultWorkflowTaskTimeoutBuilder

      public com.google.protobuf.Duration.Builder getDefaultWorkflowTaskTimeoutBuilder()
      .google.protobuf.Duration default_workflow_task_timeout = 4;
    • getDefaultWorkflowTaskTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getDefaultWorkflowTaskTimeoutOrBuilder()
      .google.protobuf.Duration default_workflow_task_timeout = 4;
      Specified by:
      getDefaultWorkflowTaskTimeoutOrBuilder in interface WorkflowExecutionConfigOrBuilder
    • hasUserMetadata

      public boolean hasUserMetadata()
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
      Specified by:
      hasUserMetadata in interface WorkflowExecutionConfigOrBuilder
      Returns:
      Whether the userMetadata field is set.
    • getUserMetadata

      public UserMetadata getUserMetadata()
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
      Specified by:
      getUserMetadata in interface WorkflowExecutionConfigOrBuilder
      Returns:
      The userMetadata.
    • setUserMetadata

      public WorkflowExecutionConfig.Builder setUserMetadata(UserMetadata value)
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
    • setUserMetadata

      public WorkflowExecutionConfig.Builder setUserMetadata(UserMetadata.Builder builderForValue)
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
    • mergeUserMetadata

      public WorkflowExecutionConfig.Builder mergeUserMetadata(UserMetadata value)
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
    • clearUserMetadata

      public WorkflowExecutionConfig.Builder clearUserMetadata()
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
    • getUserMetadataBuilder

      public UserMetadata.Builder getUserMetadataBuilder()
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
    • getUserMetadataOrBuilder

      public UserMetadataOrBuilder getUserMetadataOrBuilder()
       User metadata provided on start workflow.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 5;
      Specified by:
      getUserMetadataOrBuilder in interface WorkflowExecutionConfigOrBuilder
    • setUnknownFields

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

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