Class ScheduleActivityTaskCommandAttributes.Builder

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

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

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

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

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

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

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

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

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

      public ScheduleActivityTaskCommandAttributes.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<ScheduleActivityTaskCommandAttributes.Builder>
      Throws:
      IOException
    • getActivityId

      public String getActivityId()
      string activity_id = 1;
      Specified by:
      getActivityId in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
      string activity_id = 1;
      Specified by:
      getActivityIdBytes in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The bytes for activityId.
    • setActivityId

      string activity_id = 1;
      Parameters:
      value - The activityId to set.
      Returns:
      This builder for chaining.
    • clearActivityId

      string activity_id = 1;
      Returns:
      This builder for chaining.
    • setActivityIdBytes

      public ScheduleActivityTaskCommandAttributes.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
      string activity_id = 1;
      Parameters:
      value - The bytes for activityId to set.
      Returns:
      This builder for chaining.
    • hasActivityType

      public boolean hasActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      hasActivityType in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

      public ActivityType getActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      getActivityType in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The activityType.
    • setActivityType

      .temporal.api.common.v1.ActivityType activity_type = 2;
    • setActivityType

      public ScheduleActivityTaskCommandAttributes.Builder setActivityType(ActivityType.Builder builderForValue)
      .temporal.api.common.v1.ActivityType activity_type = 2;
    • mergeActivityType

      .temporal.api.common.v1.ActivityType activity_type = 2;
    • clearActivityType

      .temporal.api.common.v1.ActivityType activity_type = 2;
    • getActivityTypeBuilder

      public ActivityType.Builder getActivityTypeBuilder()
      .temporal.api.common.v1.ActivityType activity_type = 2;
    • getActivityTypeOrBuilder

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
      .temporal.api.common.v1.ActivityType activity_type = 2;
      Specified by:
      getActivityTypeOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasTaskQueue

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

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

      .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
    • setTaskQueue

      .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
    • mergeTaskQueue

      .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
    • clearTaskQueue

      .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
    • getTaskQueueBuilder

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

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
      Specified by:
      getTaskQueueOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasHeader

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

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

      .temporal.api.common.v1.Header header = 5;
    • setHeader

      .temporal.api.common.v1.Header header = 5;
    • mergeHeader

      .temporal.api.common.v1.Header header = 5;
    • clearHeader

      .temporal.api.common.v1.Header header = 5;
    • getHeaderBuilder

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

      public HeaderOrBuilder getHeaderOrBuilder()
      .temporal.api.common.v1.Header header = 5;
      Specified by:
      getHeaderOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasInput

      public boolean hasInput()
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      hasInput in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Payloads getInput()
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      getInput in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The input.
    • setInput

      .temporal.api.common.v1.Payloads input = 6;
    • setInput

      .temporal.api.common.v1.Payloads input = 6;
    • mergeInput

      .temporal.api.common.v1.Payloads input = 6;
    • clearInput

      .temporal.api.common.v1.Payloads input = 6;
    • getInputBuilder

      public Payloads.Builder getInputBuilder()
      .temporal.api.common.v1.Payloads input = 6;
    • getInputOrBuilder

      public PayloadsOrBuilder getInputOrBuilder()
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      getInputOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasScheduleToCloseTimeout

      public boolean hasScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
      Specified by:
      hasScheduleToCloseTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the scheduleToCloseTimeout field is set.
    • getScheduleToCloseTimeout

      public com.google.protobuf.Duration getScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
      Specified by:
      getScheduleToCloseTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • setScheduleToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
    • setScheduleToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
    • mergeScheduleToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
    • clearScheduleToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder clearScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
    • getScheduleToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
    • getScheduleToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
       Indicates how long the caller is willing to wait for activity completion. The "schedule" time
       is when the activity is initially scheduled, not when the most recent retry is scheduled.
       Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
       specified. When not specified, defaults to the workflow execution timeout.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_close_timeout = 7;
      Specified by:
      getScheduleToCloseTimeoutOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasScheduleToStartTimeout

      public boolean hasScheduleToStartTimeout()
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
      Specified by:
      hasScheduleToStartTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      public com.google.protobuf.Duration getScheduleToStartTimeout()
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
      Specified by:
      getScheduleToStartTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • setScheduleToStartTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value)
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
    • setScheduleToStartTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
    • mergeScheduleToStartTimeout

      public ScheduleActivityTaskCommandAttributes.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value)
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
    • clearScheduleToStartTimeout

      public ScheduleActivityTaskCommandAttributes.Builder clearScheduleToStartTimeout()
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
    • getScheduleToStartTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
    • getScheduleToStartTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
       Limits the time an activity task can stay in a task queue before a worker picks it up. The
       "schedule" time is when the most recent retry is scheduled. This timeout should usually not
       be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
       always non retryable, as all a retry would achieve is to put it back into the same queue.
       Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
       specified. More info:
       https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration schedule_to_start_timeout = 8;
      Specified by:
      getScheduleToStartTimeoutOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasStartToCloseTimeout

      public boolean hasStartToCloseTimeout()
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
      Specified by:
      hasStartToCloseTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      public com.google.protobuf.Duration getStartToCloseTimeout()
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
      Specified by:
      getStartToCloseTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The startToCloseTimeout.
    • setStartToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setStartToCloseTimeout(com.google.protobuf.Duration value)
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
    • setStartToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
    • mergeStartToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value)
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
    • clearStartToCloseTimeout

      public ScheduleActivityTaskCommandAttributes.Builder clearStartToCloseTimeout()
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
    • getStartToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
    • getStartToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
       Maximum time an activity is allowed to execute after being picked up by a worker. This
       timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 9;
      Specified by:
      getStartToCloseTimeoutOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasHeartbeatTimeout

      public boolean hasHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      hasHeartbeatTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the heartbeatTimeout field is set.
    • getHeartbeatTimeout

      public com.google.protobuf.Duration getHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      getHeartbeatTimeout in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The heartbeatTimeout.
    • setHeartbeatTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(com.google.protobuf.Duration value)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • setHeartbeatTimeout

      public ScheduleActivityTaskCommandAttributes.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • mergeHeartbeatTimeout

      public ScheduleActivityTaskCommandAttributes.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • clearHeartbeatTimeout

      public ScheduleActivityTaskCommandAttributes.Builder clearHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • getHeartbeatTimeoutBuilder

      public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • getHeartbeatTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      getHeartbeatTimeoutOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      hasRetryPolicy in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicy in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • setRetryPolicy

      public ScheduleActivityTaskCommandAttributes.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • mergeRetryPolicy

       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • clearRetryPolicy

       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • getRetryPolicyBuilder

      public RetryPolicy.Builder getRetryPolicyBuilder()
       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       Activities are provided by a default retry policy which is controlled through the service's
       dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
       elapsed. To disable retries set retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicyOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • getRequestEagerExecution

      public boolean getRequestEagerExecution()
       Request to start the activity directly bypassing matching service and worker polling
       The slot for executing the activity should be reserved when setting this field to true.
       
      bool request_eager_execution = 12;
      Specified by:
      getRequestEagerExecution in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The requestEagerExecution.
    • setRequestEagerExecution

      public ScheduleActivityTaskCommandAttributes.Builder setRequestEagerExecution(boolean value)
       Request to start the activity directly bypassing matching service and worker polling
       The slot for executing the activity should be reserved when setting this field to true.
       
      bool request_eager_execution = 12;
      Parameters:
      value - The requestEagerExecution to set.
      Returns:
      This builder for chaining.
    • clearRequestEagerExecution

      public ScheduleActivityTaskCommandAttributes.Builder clearRequestEagerExecution()
       Request to start the activity directly bypassing matching service and worker polling
       The slot for executing the activity should be reserved when setting this field to true.
       
      bool request_eager_execution = 12;
      Returns:
      This builder for chaining.
    • getUseWorkflowBuildId

      public boolean getUseWorkflowBuildId()
       If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
       Assignment rules of the activity's Task Queue will be used to determine the Build ID.
       
      bool use_workflow_build_id = 13;
      Specified by:
      getUseWorkflowBuildId in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The useWorkflowBuildId.
    • setUseWorkflowBuildId

      public ScheduleActivityTaskCommandAttributes.Builder setUseWorkflowBuildId(boolean value)
       If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
       Assignment rules of the activity's Task Queue will be used to determine the Build ID.
       
      bool use_workflow_build_id = 13;
      Parameters:
      value - The useWorkflowBuildId to set.
      Returns:
      This builder for chaining.
    • clearUseWorkflowBuildId

      public ScheduleActivityTaskCommandAttributes.Builder clearUseWorkflowBuildId()
       If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
       Assignment rules of the activity's Task Queue will be used to determine the Build ID.
       
      bool use_workflow_build_id = 13;
      Returns:
      This builder for chaining.
    • hasPriority

      public boolean hasPriority()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
      Specified by:
      hasPriority in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
      Specified by:
      getPriority in interface ScheduleActivityTaskCommandAttributesOrBuilder
      Returns:
      The priority.
    • setPriority

       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
    • setPriority

       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
    • mergePriority

       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
    • clearPriority

       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
    • getPriorityBuilder

      public Priority.Builder getPriorityBuilder()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata. If this message is not present, or any fields are not
       present, they inherit the values from the workflow.
       
      .temporal.api.common.v1.Priority priority = 14;
      Specified by:
      getPriorityOrBuilder in interface ScheduleActivityTaskCommandAttributesOrBuilder
    • setUnknownFields

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

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