Class ActivityTaskScheduledEventAttributes.Builder

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

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

      public ActivityTaskScheduledEventAttributes 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

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

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

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

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

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

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

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

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

      public String getActivityId()
       The worker/user assigned identifier for the activity
       
      string activity_id = 1;
      Specified by:
      getActivityId in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
       The worker/user assigned identifier for the activity
       
      string activity_id = 1;
      Specified by:
      getActivityIdBytes in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The bytes for activityId.
    • setActivityId

       The worker/user assigned identifier for the activity
       
      string activity_id = 1;
      Parameters:
      value - The activityId to set.
      Returns:
      This builder for chaining.
    • clearActivityId

       The worker/user assigned identifier for the activity
       
      string activity_id = 1;
      Returns:
      This builder for chaining.
    • setActivityIdBytes

      public ActivityTaskScheduledEventAttributes.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
       The worker/user assigned identifier for the activity
       
      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 ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

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

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

      public ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributesOrBuilder
    • hasTaskQueue

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

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

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

      public ActivityTaskScheduledEventAttributes.Builder setTaskQueue(TaskQueue.Builder builderForValue)
      .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 ActivityTaskScheduledEventAttributesOrBuilder
    • hasHeader

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

      public Header getHeader()
      .temporal.api.common.v1.Header header = 5;
      Specified by:
      getHeader in interface ActivityTaskScheduledEventAttributesOrBuilder
      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 ActivityTaskScheduledEventAttributesOrBuilder
    • hasInput

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

      public Payloads getInput()
      .temporal.api.common.v1.Payloads input = 6;
      Specified by:
      getInput in interface ActivityTaskScheduledEventAttributesOrBuilder
      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 ActivityTaskScheduledEventAttributesOrBuilder
    • hasScheduleToCloseTimeout

      public boolean hasScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
      Specified by:
      hasScheduleToCloseTimeout in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      Whether the scheduleToCloseTimeout field is set.
    • getScheduleToCloseTimeout

      public com.google.protobuf.Duration getScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
      Specified by:
      getScheduleToCloseTimeout in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • setScheduleToCloseTimeout

      public ActivityTaskScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
    • setScheduleToCloseTimeout

      public ActivityTaskScheduledEventAttributes.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
    • mergeScheduleToCloseTimeout

      public ActivityTaskScheduledEventAttributes.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
    • clearScheduleToCloseTimeout

      public ActivityTaskScheduledEventAttributes.Builder clearScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
    • getScheduleToCloseTimeoutBuilder

      public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
    • getScheduleToCloseTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted. Either this or `start_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 schedule_to_close_timeout = 7;
      Specified by:
      getScheduleToCloseTimeoutOrBuilder in interface ActivityTaskScheduledEventAttributesOrBuilder
    • hasScheduleToStartTimeout

      public boolean hasScheduleToStartTimeout()
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      Whether the scheduleToStartTimeout field is set.
    • getScheduleToStartTimeout

      public com.google.protobuf.Duration getScheduleToStartTimeout()
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • setScheduleToStartTimeout

      public ActivityTaskScheduledEventAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value)
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributes.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributes.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value)
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributes.Builder clearScheduleToStartTimeout()
       Limits time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 time an activity task can stay in a task queue before a worker picks it up. 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 not
       specified.
      
       (-- 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 ActivityTaskScheduledEventAttributesOrBuilder
    • 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 ActivityTaskScheduledEventAttributesOrBuilder
      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 ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The startToCloseTimeout.
    • setStartToCloseTimeout

      public ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributesOrBuilder
    • hasHeartbeatTimeout

      public boolean hasHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      hasHeartbeatTimeout in interface ActivityTaskScheduledEventAttributesOrBuilder
      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 ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The heartbeatTimeout.
    • setHeartbeatTimeout

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

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

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

      public ActivityTaskScheduledEventAttributes.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 ActivityTaskScheduledEventAttributesOrBuilder
    • getWorkflowTaskCompletedEventId

      public long getWorkflowTaskCompletedEventId()
       The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
       
      int64 workflow_task_completed_event_id = 11;
      Specified by:
      getWorkflowTaskCompletedEventId in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The workflowTaskCompletedEventId.
    • setWorkflowTaskCompletedEventId

      public ActivityTaskScheduledEventAttributes.Builder setWorkflowTaskCompletedEventId(long value)
       The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
       
      int64 workflow_task_completed_event_id = 11;
      Parameters:
      value - The workflowTaskCompletedEventId to set.
      Returns:
      This builder for chaining.
    • clearWorkflowTaskCompletedEventId

      public ActivityTaskScheduledEventAttributes.Builder clearWorkflowTaskCompletedEventId()
       The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
       
      int64 workflow_task_completed_event_id = 11;
      Returns:
      This builder for chaining.
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
      Specified by:
      hasRetryPolicy in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
      Specified by:
      getRetryPolicy in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
    • setRetryPolicy

      public ActivityTaskScheduledEventAttributes.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
    • mergeRetryPolicy

       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
    • clearRetryPolicy

       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
    • getRetryPolicyBuilder

      public RetryPolicy.Builder getRetryPolicyBuilder()
       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       Activities are assigned a default retry policy controlled by the service's dynamic
       configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
       retry_policy.maximum_attempts to 1.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 12;
      Specified by:
      getRetryPolicyOrBuilder in interface ActivityTaskScheduledEventAttributesOrBuilder
    • getUseWorkflowBuildId

      @Deprecated public boolean getUseWorkflowBuildId()
      Deprecated.
      temporal.api.history.v1.ActivityTaskScheduledEventAttributes.use_workflow_build_id is deprecated. See temporal/api/history/v1/message.proto;l=460
       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.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      bool use_workflow_build_id = 13 [deprecated = true];
      Specified by:
      getUseWorkflowBuildId in interface ActivityTaskScheduledEventAttributesOrBuilder
      Returns:
      The useWorkflowBuildId.
    • setUseWorkflowBuildId

      @Deprecated public ActivityTaskScheduledEventAttributes.Builder setUseWorkflowBuildId(boolean value)
      Deprecated.
      temporal.api.history.v1.ActivityTaskScheduledEventAttributes.use_workflow_build_id is deprecated. See temporal/api/history/v1/message.proto;l=460
       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.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      bool use_workflow_build_id = 13 [deprecated = true];
      Parameters:
      value - The useWorkflowBuildId to set.
      Returns:
      This builder for chaining.
    • clearUseWorkflowBuildId

      Deprecated.
      temporal.api.history.v1.ActivityTaskScheduledEventAttributes.use_workflow_build_id is deprecated. See temporal/api/history/v1/message.proto;l=460
       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.
       Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
       
      bool use_workflow_build_id = 13 [deprecated = true];
      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 ActivityTaskScheduledEventAttributesOrBuilder
      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 ActivityTaskScheduledEventAttributesOrBuilder
      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

      public ActivityTaskScheduledEventAttributes.Builder setPriority(Priority.Builder builderForValue)
       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 ActivityTaskScheduledEventAttributesOrBuilder
    • setUnknownFields

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

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