Class ActivityExecutionInfo.Builder

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

public static final class ActivityExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder> implements ActivityExecutionInfoOrBuilder
 Information about a standalone activity.
 
Protobuf type temporal.api.activity.v1.ActivityExecutionInfo
  • 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<ActivityExecutionInfo.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<ActivityExecutionInfo.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<ActivityExecutionInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public String getActivityId()
       Unique identifier of this activity within its namespace along with run ID (below).
       
      string activity_id = 1;
      Specified by:
      getActivityId in interface ActivityExecutionInfoOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
       Unique identifier of this activity within its namespace along with run ID (below).
       
      string activity_id = 1;
      Specified by:
      getActivityIdBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for activityId.
    • setActivityId

      public ActivityExecutionInfo.Builder setActivityId(String value)
       Unique identifier of this activity within its namespace along with run ID (below).
       
      string activity_id = 1;
      Parameters:
      value - The activityId to set.
      Returns:
      This builder for chaining.
    • clearActivityId

      public ActivityExecutionInfo.Builder clearActivityId()
       Unique identifier of this activity within its namespace along with run ID (below).
       
      string activity_id = 1;
      Returns:
      This builder for chaining.
    • setActivityIdBytes

      public ActivityExecutionInfo.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
       Unique identifier of this activity within its namespace along with run ID (below).
       
      string activity_id = 1;
      Parameters:
      value - The bytes for activityId to set.
      Returns:
      This builder for chaining.
    • getRunId

      public String getRunId()
      string run_id = 2;
      Specified by:
      getRunId in interface ActivityExecutionInfoOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 2;
      Specified by:
      getRunIdBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public ActivityExecutionInfo.Builder setRunId(String value)
      string run_id = 2;
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      public ActivityExecutionInfo.Builder clearRunId()
      string run_id = 2;
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public ActivityExecutionInfo.Builder setRunIdBytes(com.google.protobuf.ByteString value)
      string run_id = 2;
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • hasActivityType

      public boolean hasActivityType()
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
      Specified by:
      hasActivityType in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

      public ActivityType getActivityType()
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
      Specified by:
      getActivityType in interface ActivityExecutionInfoOrBuilder
      Returns:
      The activityType.
    • setActivityType

      public ActivityExecutionInfo.Builder setActivityType(ActivityType value)
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
    • setActivityType

      public ActivityExecutionInfo.Builder setActivityType(ActivityType.Builder builderForValue)
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
    • mergeActivityType

      public ActivityExecutionInfo.Builder mergeActivityType(ActivityType value)
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
    • clearActivityType

      public ActivityExecutionInfo.Builder clearActivityType()
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
    • getActivityTypeBuilder

      public ActivityType.Builder getActivityTypeBuilder()
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
    • getActivityTypeOrBuilder

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
       The type of the activity, a string that maps to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 3;
      Specified by:
      getActivityTypeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getStatusValue

      public int getStatusValue()
       A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
       
      .temporal.api.enums.v1.ActivityExecutionStatus status = 4;
      Specified by:
      getStatusValue in interface ActivityExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public ActivityExecutionInfo.Builder setStatusValue(int value)
       A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
       
      .temporal.api.enums.v1.ActivityExecutionStatus status = 4;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public ActivityExecutionStatus getStatus()
       A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
       
      .temporal.api.enums.v1.ActivityExecutionStatus status = 4;
      Specified by:
      getStatus in interface ActivityExecutionInfoOrBuilder
      Returns:
      The status.
    • setStatus

       A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
       
      .temporal.api.enums.v1.ActivityExecutionStatus status = 4;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public ActivityExecutionInfo.Builder clearStatus()
       A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
       
      .temporal.api.enums.v1.ActivityExecutionStatus status = 4;
      Returns:
      This builder for chaining.
    • getRunStateValue

      public int getRunStateValue()
       More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingActivityState run_state = 5;
      Specified by:
      getRunStateValue in interface ActivityExecutionInfoOrBuilder
      Returns:
      The enum numeric value on the wire for runState.
    • setRunStateValue

      public ActivityExecutionInfo.Builder setRunStateValue(int value)
       More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingActivityState run_state = 5;
      Parameters:
      value - The enum numeric value on the wire for runState to set.
      Returns:
      This builder for chaining.
    • getRunState

      public PendingActivityState getRunState()
       More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingActivityState run_state = 5;
      Specified by:
      getRunState in interface ActivityExecutionInfoOrBuilder
      Returns:
      The runState.
    • setRunState

       More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingActivityState run_state = 5;
      Parameters:
      value - The runState to set.
      Returns:
      This builder for chaining.
    • clearRunState

      public ActivityExecutionInfo.Builder clearRunState()
       More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
       
      .temporal.api.enums.v1.PendingActivityState run_state = 5;
      Returns:
      This builder for chaining.
    • getTaskQueue

      public String getTaskQueue()
      string task_queue = 6;
      Specified by:
      getTaskQueue in interface ActivityExecutionInfoOrBuilder
      Returns:
      The taskQueue.
    • getTaskQueueBytes

      public com.google.protobuf.ByteString getTaskQueueBytes()
      string task_queue = 6;
      Specified by:
      getTaskQueueBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for taskQueue.
    • setTaskQueue

      public ActivityExecutionInfo.Builder setTaskQueue(String value)
      string task_queue = 6;
      Parameters:
      value - The taskQueue to set.
      Returns:
      This builder for chaining.
    • clearTaskQueue

      public ActivityExecutionInfo.Builder clearTaskQueue()
      string task_queue = 6;
      Returns:
      This builder for chaining.
    • setTaskQueueBytes

      public ActivityExecutionInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
      string task_queue = 6;
      Parameters:
      value - The bytes for taskQueue to set.
      Returns:
      This builder for chaining.
    • hasScheduleToCloseTimeout

      public boolean hasScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      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.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      Returns:
      The scheduleToCloseTimeout.
    • setScheduleToCloseTimeout

      public ActivityExecutionInfo.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.
      
       (-- 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 ActivityExecutionInfo.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.
      
       (-- 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 ActivityExecutionInfo.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.
      
       (-- 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 ActivityExecutionInfo.Builder clearScheduleToCloseTimeout()
       Indicates how long the caller is willing to wait for an activity completion. Limits how long
       retries will be attempted.
      
       (-- 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.
      
       (-- 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.
      
       (-- 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 ActivityExecutionInfoOrBuilder
    • 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`.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      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`.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      Returns:
      The scheduleToStartTimeout.
    • setScheduleToStartTimeout

      public ActivityExecutionInfo.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`.
      
       (-- 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 ActivityExecutionInfo.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`.
      
       (-- 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 ActivityExecutionInfo.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`.
      
       (-- 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 ActivityExecutionInfo.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`.
      
       (-- 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`.
      
       (-- 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`.
      
       (-- 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 ActivityExecutionInfoOrBuilder
    • hasStartToCloseTimeout

      public boolean hasStartToCloseTimeout()
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      public com.google.protobuf.Duration getStartToCloseTimeout()
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfoOrBuilder
      Returns:
      The startToCloseTimeout.
    • setStartToCloseTimeout

      public ActivityExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration value)
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfo.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value)
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfo.Builder clearStartToCloseTimeout()
       Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 a single activity attempt is allowed to execute after being picked up by a worker. This
       timeout is always retryable.
      
       (-- 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 ActivityExecutionInfoOrBuilder
    • hasHeartbeatTimeout

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

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

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

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

      public ActivityExecutionInfo.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 ActivityExecutionInfoOrBuilder
    • hasRetryPolicy

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

      public RetryPolicy getRetryPolicy()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicy in interface ActivityExecutionInfoOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

      public ActivityExecutionInfo.Builder setRetryPolicy(RetryPolicy value)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • setRetryPolicy

      public ActivityExecutionInfo.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • mergeRetryPolicy

      public ActivityExecutionInfo.Builder mergeRetryPolicy(RetryPolicy value)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • clearRetryPolicy

      public ActivityExecutionInfo.Builder clearRetryPolicy()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • getRetryPolicyBuilder

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

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicyOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasHeartbeatDetails

      public boolean hasHeartbeatDetails()
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
      Specified by:
      hasHeartbeatDetails in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the heartbeatDetails field is set.
    • getHeartbeatDetails

      public Payloads getHeartbeatDetails()
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
      Specified by:
      getHeartbeatDetails in interface ActivityExecutionInfoOrBuilder
      Returns:
      The heartbeatDetails.
    • setHeartbeatDetails

      public ActivityExecutionInfo.Builder setHeartbeatDetails(Payloads value)
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
    • setHeartbeatDetails

      public ActivityExecutionInfo.Builder setHeartbeatDetails(Payloads.Builder builderForValue)
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
    • mergeHeartbeatDetails

      public ActivityExecutionInfo.Builder mergeHeartbeatDetails(Payloads value)
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
    • clearHeartbeatDetails

      public ActivityExecutionInfo.Builder clearHeartbeatDetails()
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
    • getHeartbeatDetailsBuilder

      public Payloads.Builder getHeartbeatDetailsBuilder()
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
    • getHeartbeatDetailsOrBuilder

      public PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
       Details provided in the last recorded activity heartbeat.
       DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
       
      .temporal.api.common.v1.Payloads heartbeat_details = 12;
      Specified by:
      getHeartbeatDetailsOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasLastHeartbeatTime

      public boolean hasLastHeartbeatTime()
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
      Specified by:
      hasLastHeartbeatTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the lastHeartbeatTime field is set.
    • getLastHeartbeatTime

      public com.google.protobuf.Timestamp getLastHeartbeatTime()
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
      Specified by:
      getLastHeartbeatTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastHeartbeatTime.
    • setLastHeartbeatTime

      public ActivityExecutionInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp value)
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
    • setLastHeartbeatTime

      public ActivityExecutionInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
    • mergeLastHeartbeatTime

      public ActivityExecutionInfo.Builder mergeLastHeartbeatTime(com.google.protobuf.Timestamp value)
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
    • clearLastHeartbeatTime

      public ActivityExecutionInfo.Builder clearLastHeartbeatTime()
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
    • getLastHeartbeatTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastHeartbeatTimeBuilder()
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
    • getLastHeartbeatTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()
       Time the last heartbeat was recorded.
       
      .google.protobuf.Timestamp last_heartbeat_time = 13;
      Specified by:
      getLastHeartbeatTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasLastStartedTime

      public boolean hasLastStartedTime()
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
      Specified by:
      hasLastStartedTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the lastStartedTime field is set.
    • getLastStartedTime

      public com.google.protobuf.Timestamp getLastStartedTime()
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
      Specified by:
      getLastStartedTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastStartedTime.
    • setLastStartedTime

      public ActivityExecutionInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp value)
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
    • setLastStartedTime

      public ActivityExecutionInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
    • mergeLastStartedTime

      public ActivityExecutionInfo.Builder mergeLastStartedTime(com.google.protobuf.Timestamp value)
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
    • clearLastStartedTime

      public ActivityExecutionInfo.Builder clearLastStartedTime()
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
    • getLastStartedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastStartedTimeBuilder()
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
    • getLastStartedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()
       Time the last attempt was started.
       
      .google.protobuf.Timestamp last_started_time = 14;
      Specified by:
      getLastStartedTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getAttempt

      public int getAttempt()
       The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
       
      int32 attempt = 15;
      Specified by:
      getAttempt in interface ActivityExecutionInfoOrBuilder
      Returns:
      The attempt.
    • setAttempt

      public ActivityExecutionInfo.Builder setAttempt(int value)
       The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
       
      int32 attempt = 15;
      Parameters:
      value - The attempt to set.
      Returns:
      This builder for chaining.
    • clearAttempt

      public ActivityExecutionInfo.Builder clearAttempt()
       The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
       
      int32 attempt = 15;
      Returns:
      This builder for chaining.
    • hasExecutionDuration

      public boolean hasExecutionDuration()
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
      Specified by:
      hasExecutionDuration in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the executionDuration field is set.
    • getExecutionDuration

      public com.google.protobuf.Duration getExecutionDuration()
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
      Specified by:
      getExecutionDuration in interface ActivityExecutionInfoOrBuilder
      Returns:
      The executionDuration.
    • setExecutionDuration

      public ActivityExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration value)
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
    • setExecutionDuration

      public ActivityExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
    • mergeExecutionDuration

      public ActivityExecutionInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value)
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
    • clearExecutionDuration

      public ActivityExecutionInfo.Builder clearExecutionDuration()
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
    • getExecutionDurationBuilder

      public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
    • getExecutionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
       How long this activity has been running for, including all attempts and backoff between attempts.
       
      .google.protobuf.Duration execution_duration = 16;
      Specified by:
      getExecutionDurationOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasScheduleTime

      public boolean hasScheduleTime()
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
      Specified by:
      hasScheduleTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the scheduleTime field is set.
    • getScheduleTime

      public com.google.protobuf.Timestamp getScheduleTime()
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
      Specified by:
      getScheduleTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The scheduleTime.
    • setScheduleTime

      public ActivityExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp value)
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
    • setScheduleTime

      public ActivityExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
    • mergeScheduleTime

      public ActivityExecutionInfo.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
    • clearScheduleTime

      public ActivityExecutionInfo.Builder clearScheduleTime()
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
    • getScheduleTimeBuilder

      public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
    • getScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
       Time the activity was originally scheduled via a StartActivityExecution request.
       
      .google.protobuf.Timestamp schedule_time = 17;
      Specified by:
      getScheduleTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasExpirationTime

      public boolean hasExpirationTime()
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
      Specified by:
      hasExpirationTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Timestamp getExpirationTime()
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
      Specified by:
      getExpirationTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      public ActivityExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
    • setExpirationTime

      public ActivityExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
    • mergeExpirationTime

      public ActivityExecutionInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
    • clearExpirationTime

      public ActivityExecutionInfo.Builder clearExpirationTime()
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
    • getExpirationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
    • getExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
       The time at which the activity's Schedule-to-Close timeout expires.
       Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
       
      .google.protobuf.Timestamp expiration_time = 18;
      Specified by:
      getExpirationTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasCloseTime

      public boolean hasCloseTime()
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
      Specified by:
      hasCloseTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the closeTime field is set.
    • getCloseTime

      public com.google.protobuf.Timestamp getCloseTime()
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
      Specified by:
      getCloseTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The closeTime.
    • setCloseTime

      public ActivityExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
    • setCloseTime

      public ActivityExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
    • mergeCloseTime

      public ActivityExecutionInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
    • clearCloseTime

      public ActivityExecutionInfo.Builder clearCloseTime()
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
    • getCloseTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
    • getCloseTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
       Time when the activity transitioned to a closed state.
       
      .google.protobuf.Timestamp close_time = 19;
      Specified by:
      getCloseTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasLastFailure

      public boolean hasLastFailure()
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
      Specified by:
      hasLastFailure in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the lastFailure field is set.
    • getLastFailure

      public Failure getLastFailure()
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
      Specified by:
      getLastFailure in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastFailure.
    • setLastFailure

      public ActivityExecutionInfo.Builder setLastFailure(Failure value)
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
    • setLastFailure

      public ActivityExecutionInfo.Builder setLastFailure(Failure.Builder builderForValue)
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
    • mergeLastFailure

      public ActivityExecutionInfo.Builder mergeLastFailure(Failure value)
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
    • clearLastFailure

      public ActivityExecutionInfo.Builder clearLastFailure()
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
    • getLastFailureBuilder

      public Failure.Builder getLastFailureBuilder()
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
    • getLastFailureOrBuilder

      public FailureOrBuilder getLastFailureOrBuilder()
       Failure details from the last failed attempt.
       DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
       
      .temporal.api.failure.v1.Failure last_failure = 20;
      Specified by:
      getLastFailureOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getLastWorkerIdentity

      public String getLastWorkerIdentity()
      string last_worker_identity = 21;
      Specified by:
      getLastWorkerIdentity in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastWorkerIdentity.
    • getLastWorkerIdentityBytes

      public com.google.protobuf.ByteString getLastWorkerIdentityBytes()
      string last_worker_identity = 21;
      Specified by:
      getLastWorkerIdentityBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for lastWorkerIdentity.
    • setLastWorkerIdentity

      public ActivityExecutionInfo.Builder setLastWorkerIdentity(String value)
      string last_worker_identity = 21;
      Parameters:
      value - The lastWorkerIdentity to set.
      Returns:
      This builder for chaining.
    • clearLastWorkerIdentity

      public ActivityExecutionInfo.Builder clearLastWorkerIdentity()
      string last_worker_identity = 21;
      Returns:
      This builder for chaining.
    • setLastWorkerIdentityBytes

      public ActivityExecutionInfo.Builder setLastWorkerIdentityBytes(com.google.protobuf.ByteString value)
      string last_worker_identity = 21;
      Parameters:
      value - The bytes for lastWorkerIdentity to set.
      Returns:
      This builder for chaining.
    • hasCurrentRetryInterval

      public boolean hasCurrentRetryInterval()
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
      Specified by:
      hasCurrentRetryInterval in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the currentRetryInterval field is set.
    • getCurrentRetryInterval

      public com.google.protobuf.Duration getCurrentRetryInterval()
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
      Specified by:
      getCurrentRetryInterval in interface ActivityExecutionInfoOrBuilder
      Returns:
      The currentRetryInterval.
    • setCurrentRetryInterval

      public ActivityExecutionInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration value)
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
    • setCurrentRetryInterval

      public ActivityExecutionInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue)
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
    • mergeCurrentRetryInterval

      public ActivityExecutionInfo.Builder mergeCurrentRetryInterval(com.google.protobuf.Duration value)
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
    • clearCurrentRetryInterval

      public ActivityExecutionInfo.Builder clearCurrentRetryInterval()
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
    • getCurrentRetryIntervalBuilder

      public com.google.protobuf.Duration.Builder getCurrentRetryIntervalBuilder()
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
    • getCurrentRetryIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getCurrentRetryIntervalOrBuilder()
       Time from the last attempt failure to the next activity retry.
       If the activity is currently running, this represents the next retry interval in case the attempt fails.
       If activity is currently backing off between attempt, this represents the current retry interval.
       If there is no next retry allowed, this field will be null.
       This interval is typically calculated from the specified retry policy, but may be modified if an activity fails
       with a retryable application failure specifying a retry delay.
       
      .google.protobuf.Duration current_retry_interval = 22;
      Specified by:
      getCurrentRetryIntervalOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasLastAttemptCompleteTime

      public boolean hasLastAttemptCompleteTime()
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
      Specified by:
      hasLastAttemptCompleteTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the lastAttemptCompleteTime field is set.
    • getLastAttemptCompleteTime

      public com.google.protobuf.Timestamp getLastAttemptCompleteTime()
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
      Specified by:
      getLastAttemptCompleteTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastAttemptCompleteTime.
    • setLastAttemptCompleteTime

      public ActivityExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
    • setLastAttemptCompleteTime

      public ActivityExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
    • mergeLastAttemptCompleteTime

      public ActivityExecutionInfo.Builder mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
    • clearLastAttemptCompleteTime

      public ActivityExecutionInfo.Builder clearLastAttemptCompleteTime()
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
    • getLastAttemptCompleteTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
    • getLastAttemptCompleteTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
       The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 23;
      Specified by:
      getLastAttemptCompleteTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasNextAttemptScheduleTime

      public boolean hasNextAttemptScheduleTime()
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
      Specified by:
      hasNextAttemptScheduleTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the nextAttemptScheduleTime field is set.
    • getNextAttemptScheduleTime

      public com.google.protobuf.Timestamp getNextAttemptScheduleTime()
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
      Specified by:
      getNextAttemptScheduleTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The nextAttemptScheduleTime.
    • setNextAttemptScheduleTime

      public ActivityExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
    • setNextAttemptScheduleTime

      public ActivityExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
    • mergeNextAttemptScheduleTime

      public ActivityExecutionInfo.Builder mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
    • clearNextAttemptScheduleTime

      public ActivityExecutionInfo.Builder clearNextAttemptScheduleTime()
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
    • getNextAttemptScheduleTimeBuilder

      public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
    • getNextAttemptScheduleTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
       The time when the next activity attempt will be scheduled.
       If activity is currently scheduled or started, this field will be null.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 24;
      Specified by:
      getNextAttemptScheduleTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasLastDeploymentVersion

      public boolean hasLastDeploymentVersion()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      hasLastDeploymentVersion in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the lastDeploymentVersion field is set.
    • getLastDeploymentVersion

      public WorkerDeploymentVersion getLastDeploymentVersion()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      getLastDeploymentVersion in interface ActivityExecutionInfoOrBuilder
      Returns:
      The lastDeploymentVersion.
    • setLastDeploymentVersion

      public ActivityExecutionInfo.Builder setLastDeploymentVersion(WorkerDeploymentVersion value)
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
    • setLastDeploymentVersion

      public ActivityExecutionInfo.Builder setLastDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
    • mergeLastDeploymentVersion

      public ActivityExecutionInfo.Builder mergeLastDeploymentVersion(WorkerDeploymentVersion value)
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
    • clearLastDeploymentVersion

      public ActivityExecutionInfo.Builder clearLastDeploymentVersion()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
    • getLastDeploymentVersionBuilder

      public WorkerDeploymentVersion.Builder getLastDeploymentVersionBuilder()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
    • getLastDeploymentVersionOrBuilder

      public WorkerDeploymentVersionOrBuilder getLastDeploymentVersionOrBuilder()
       The Worker Deployment Version this activity was dispatched to most recently.
       If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
       
      .temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
      Specified by:
      getLastDeploymentVersionOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasPriority

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

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

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

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

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

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

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

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata.
       
      .temporal.api.common.v1.Priority priority = 26;
      Specified by:
      getPriorityOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getStateTransitionCount

      public long getStateTransitionCount()
       Incremented each time the activity's state is mutated in persistence.
       
      int64 state_transition_count = 27;
      Specified by:
      getStateTransitionCount in interface ActivityExecutionInfoOrBuilder
      Returns:
      The stateTransitionCount.
    • setStateTransitionCount

      public ActivityExecutionInfo.Builder setStateTransitionCount(long value)
       Incremented each time the activity's state is mutated in persistence.
       
      int64 state_transition_count = 27;
      Parameters:
      value - The stateTransitionCount to set.
      Returns:
      This builder for chaining.
    • clearStateTransitionCount

      public ActivityExecutionInfo.Builder clearStateTransitionCount()
       Incremented each time the activity's state is mutated in persistence.
       
      int64 state_transition_count = 27;
      Returns:
      This builder for chaining.
    • getStateSizeBytes

      public long getStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 28;
      Specified by:
      getStateSizeBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The stateSizeBytes.
    • setStateSizeBytes

      public ActivityExecutionInfo.Builder setStateSizeBytes(long value)
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 28;
      Parameters:
      value - The stateSizeBytes to set.
      Returns:
      This builder for chaining.
    • clearStateSizeBytes

      public ActivityExecutionInfo.Builder clearStateSizeBytes()
       Updated once on scheduled and once on terminal status.
       
      int64 state_size_bytes = 28;
      Returns:
      This builder for chaining.
    • hasSearchAttributes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
      Specified by:
      hasUserMetadata in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the userMetadata field is set.
    • getUserMetadata

      public UserMetadata getUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
      Specified by:
      getUserMetadata in interface ActivityExecutionInfoOrBuilder
      Returns:
      The userMetadata.
    • setUserMetadata

      public ActivityExecutionInfo.Builder setUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
    • setUserMetadata

      public ActivityExecutionInfo.Builder setUserMetadata(UserMetadata.Builder builderForValue)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
    • mergeUserMetadata

      public ActivityExecutionInfo.Builder mergeUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
    • clearUserMetadata

      public ActivityExecutionInfo.Builder clearUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
    • getUserMetadataBuilder

      public UserMetadata.Builder getUserMetadataBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
    • getUserMetadataOrBuilder

      public UserMetadataOrBuilder getUserMetadataOrBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 31;
      Specified by:
      getUserMetadataOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getCanceledReason

      public String getCanceledReason()
       Set if activity cancelation was requested.
       
      string canceled_reason = 32;
      Specified by:
      getCanceledReason in interface ActivityExecutionInfoOrBuilder
      Returns:
      The canceledReason.
    • getCanceledReasonBytes

      public com.google.protobuf.ByteString getCanceledReasonBytes()
       Set if activity cancelation was requested.
       
      string canceled_reason = 32;
      Specified by:
      getCanceledReasonBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for canceledReason.
    • setCanceledReason

      public ActivityExecutionInfo.Builder setCanceledReason(String value)
       Set if activity cancelation was requested.
       
      string canceled_reason = 32;
      Parameters:
      value - The canceledReason to set.
      Returns:
      This builder for chaining.
    • clearCanceledReason

      public ActivityExecutionInfo.Builder clearCanceledReason()
       Set if activity cancelation was requested.
       
      string canceled_reason = 32;
      Returns:
      This builder for chaining.
    • setCanceledReasonBytes

      public ActivityExecutionInfo.Builder setCanceledReasonBytes(com.google.protobuf.ByteString value)
       Set if activity cancelation was requested.
       
      string canceled_reason = 32;
      Parameters:
      value - The bytes for canceledReason to set.
      Returns:
      This builder for chaining.
    • getLinksList

      public List<Link> getLinksList()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
      Specified by:
      getLinksList in interface ActivityExecutionInfoOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
      Specified by:
      getLinksCount in interface ActivityExecutionInfoOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
      Specified by:
      getLinks in interface ActivityExecutionInfoOrBuilder
    • setLinks

      public ActivityExecutionInfo.Builder setLinks(int index, Link value)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • setLinks

      public ActivityExecutionInfo.Builder setLinks(int index, Link.Builder builderForValue)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addLinks

      public ActivityExecutionInfo.Builder addLinks(Link value)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addLinks

      public ActivityExecutionInfo.Builder addLinks(int index, Link value)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addLinks

      public ActivityExecutionInfo.Builder addLinks(Link.Builder builderForValue)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addLinks

      public ActivityExecutionInfo.Builder addLinks(int index, Link.Builder builderForValue)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addAllLinks

      public ActivityExecutionInfo.Builder addAllLinks(Iterable<? extends Link> values)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • clearLinks

      public ActivityExecutionInfo.Builder clearLinks()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • removeLinks

      public ActivityExecutionInfo.Builder removeLinks(int index)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • getLinksBuilder

      public Link.Builder getLinksBuilder(int index)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
      Specified by:
      getLinksOrBuilder in interface ActivityExecutionInfoOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
      Specified by:
      getLinksOrBuilderList in interface ActivityExecutionInfoOrBuilder
    • addLinksBuilder

      public Link.Builder addLinksBuilder()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • addLinksBuilder

      public Link.Builder addLinksBuilder(int index)
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • getLinksBuilderList

      public List<Link.Builder> getLinksBuilderList()
       Links to related entities, such as the entity that started this activity.
       
      repeated .temporal.api.common.v1.Link links = 33;
    • getTotalHeartbeatCount

      public long getTotalHeartbeatCount()
       Total number of heartbeats recorded across all attempts of this activity, including retries.
       
      int64 total_heartbeat_count = 34;
      Specified by:
      getTotalHeartbeatCount in interface ActivityExecutionInfoOrBuilder
      Returns:
      The totalHeartbeatCount.
    • setTotalHeartbeatCount

      public ActivityExecutionInfo.Builder setTotalHeartbeatCount(long value)
       Total number of heartbeats recorded across all attempts of this activity, including retries.
       
      int64 total_heartbeat_count = 34;
      Parameters:
      value - The totalHeartbeatCount to set.
      Returns:
      This builder for chaining.
    • clearTotalHeartbeatCount

      public ActivityExecutionInfo.Builder clearTotalHeartbeatCount()
       Total number of heartbeats recorded across all attempts of this activity, including retries.
       
      int64 total_heartbeat_count = 34;
      Returns:
      This builder for chaining.
    • getSdkName

      public String getSdkName()
       The name of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_name = 35;
      Specified by:
      getSdkName in interface ActivityExecutionInfoOrBuilder
      Returns:
      The sdkName.
    • getSdkNameBytes

      public com.google.protobuf.ByteString getSdkNameBytes()
       The name of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_name = 35;
      Specified by:
      getSdkNameBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for sdkName.
    • setSdkName

      public ActivityExecutionInfo.Builder setSdkName(String value)
       The name of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_name = 35;
      Parameters:
      value - The sdkName to set.
      Returns:
      This builder for chaining.
    • clearSdkName

      public ActivityExecutionInfo.Builder clearSdkName()
       The name of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_name = 35;
      Returns:
      This builder for chaining.
    • setSdkNameBytes

      public ActivityExecutionInfo.Builder setSdkNameBytes(com.google.protobuf.ByteString value)
       The name of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_name = 35;
      Parameters:
      value - The bytes for sdkName to set.
      Returns:
      This builder for chaining.
    • getSdkVersion

      public String getSdkVersion()
       The version of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_version = 36;
      Specified by:
      getSdkVersion in interface ActivityExecutionInfoOrBuilder
      Returns:
      The sdkVersion.
    • getSdkVersionBytes

      public com.google.protobuf.ByteString getSdkVersionBytes()
       The version of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_version = 36;
      Specified by:
      getSdkVersionBytes in interface ActivityExecutionInfoOrBuilder
      Returns:
      The bytes for sdkVersion.
    • setSdkVersion

      public ActivityExecutionInfo.Builder setSdkVersion(String value)
       The version of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_version = 36;
      Parameters:
      value - The sdkVersion to set.
      Returns:
      This builder for chaining.
    • clearSdkVersion

      public ActivityExecutionInfo.Builder clearSdkVersion()
       The version of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_version = 36;
      Returns:
      This builder for chaining.
    • setSdkVersionBytes

      public ActivityExecutionInfo.Builder setSdkVersionBytes(com.google.protobuf.ByteString value)
       The version of the SDK of the worker that most recently picked up an attempt of this activity.
       Overwritten on each new attempt. Empty if unknown.
       
      string sdk_version = 36;
      Parameters:
      value - The bytes for sdkVersion to set.
      Returns:
      This builder for chaining.
    • hasStartDelay

      public boolean hasStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
      Specified by:
      hasStartDelay in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the startDelay field is set.
    • getStartDelay

      public com.google.protobuf.Duration getStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
      Specified by:
      getStartDelay in interface ActivityExecutionInfoOrBuilder
      Returns:
      The startDelay.
    • setStartDelay

      public ActivityExecutionInfo.Builder setStartDelay(com.google.protobuf.Duration value)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
    • setStartDelay

      public ActivityExecutionInfo.Builder setStartDelay(com.google.protobuf.Duration.Builder builderForValue)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
    • mergeStartDelay

      public ActivityExecutionInfo.Builder mergeStartDelay(com.google.protobuf.Duration value)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
    • clearStartDelay

      public ActivityExecutionInfo.Builder clearStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
    • getStartDelayBuilder

      public com.google.protobuf.Duration.Builder getStartDelayBuilder()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
    • getStartDelayOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 37;
      Specified by:
      getStartDelayOrBuilder in interface ActivityExecutionInfoOrBuilder
    • hasExecutionTime

      public boolean hasExecutionTime()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
      Specified by:
      hasExecutionTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      Whether the executionTime field is set.
    • getExecutionTime

      public com.google.protobuf.Timestamp getExecutionTime()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
      Specified by:
      getExecutionTime in interface ActivityExecutionInfoOrBuilder
      Returns:
      The executionTime.
    • setExecutionTime

      public ActivityExecutionInfo.Builder setExecutionTime(com.google.protobuf.Timestamp value)
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
    • setExecutionTime

      public ActivityExecutionInfo.Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
    • mergeExecutionTime

      public ActivityExecutionInfo.Builder mergeExecutionTime(com.google.protobuf.Timestamp value)
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
    • clearExecutionTime

      public ActivityExecutionInfo.Builder clearExecutionTime()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
    • getExecutionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
    • getExecutionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()
       The time at which the first activity task is made available for dispatch, computed as
       `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
       
      .google.protobuf.Timestamp execution_time = 38;
      Specified by:
      getExecutionTimeOrBuilder in interface ActivityExecutionInfoOrBuilder
    • setUnknownFields

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

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