Class ActivityExecutionInfo.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ActivityExecutionInfoOrBuilder, java.lang.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 Detail

      • 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

        public 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

        public ActivityExecutionInfo.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,
                                                      java.lang.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,
                                                              java.lang.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,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
      • 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 java.io.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:
        java.io.IOException
      • getActivityId

        public java.lang.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​(java.lang.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.
      • setRunId

        public ActivityExecutionInfo.Builder setRunId​(java.lang.String value)
        string run_id = 2;
        Parameters:
        value - The runId to set.
        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;
      • 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

        public ActivityExecutionInfo.Builder setStatus​(ActivityExecutionStatus 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 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.
      • setRunState

        public ActivityExecutionInfo.Builder setRunState​(PendingActivityState value)
         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.
      • setTaskQueue

        public ActivityExecutionInfo.Builder setTaskQueue​(java.lang.String value)
        string task_queue = 6;
        Parameters:
        value - The taskQueue to set.
        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;
      • hasHeartbeatDetails

        public boolean hasHeartbeatDetails()
         Details provided in the last recorded activity heartbeat.
         
        .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.
         
        .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.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 12;
      • setHeartbeatDetails

        public ActivityExecutionInfo.Builder setHeartbeatDetails​(Payloads.Builder builderForValue)
         Details provided in the last recorded activity heartbeat.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 12;
      • mergeHeartbeatDetails

        public ActivityExecutionInfo.Builder mergeHeartbeatDetails​(Payloads value)
         Details provided in the last recorded activity heartbeat.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 12;
      • clearHeartbeatDetails

        public ActivityExecutionInfo.Builder clearHeartbeatDetails()
         Details provided in the last recorded activity heartbeat.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 12;
      • getHeartbeatDetailsBuilder

        public Payloads.Builder getHeartbeatDetailsBuilder()
         Details provided in the last recorded activity heartbeat.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 12;
      • 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;
      • 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;
      • 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()
         Scheduled time + 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()
         Scheduled time + 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)
         Scheduled time + schedule to close timeout.
         
        .google.protobuf.Timestamp expiration_time = 18;
      • setExpirationTime

        public ActivityExecutionInfo.Builder setExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Scheduled time + schedule to close timeout.
         
        .google.protobuf.Timestamp expiration_time = 18;
      • mergeExpirationTime

        public ActivityExecutionInfo.Builder mergeExpirationTime​(com.google.protobuf.Timestamp value)
         Scheduled time + schedule to close timeout.
         
        .google.protobuf.Timestamp expiration_time = 18;
      • clearExpirationTime

        public ActivityExecutionInfo.Builder clearExpirationTime()
         Scheduled time + schedule to close timeout.
         
        .google.protobuf.Timestamp expiration_time = 18;
      • getExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
         Scheduled time + schedule to close timeout.
         
        .google.protobuf.Timestamp expiration_time = 18;
      • getExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
         Scheduled time + 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.
         
        .temporal.api.failure.v1.Failure last_failure = 20;
        Specified by:
        hasLastFailure in interface ActivityExecutionInfoOrBuilder
        Returns:
        Whether the lastFailure field is set.
      • setLastFailure

        public ActivityExecutionInfo.Builder setLastFailure​(Failure value)
         Failure details from the last failed attempt.
         
        .temporal.api.failure.v1.Failure last_failure = 20;
      • mergeLastFailure

        public ActivityExecutionInfo.Builder mergeLastFailure​(Failure value)
         Failure details from the last failed attempt.
         
        .temporal.api.failure.v1.Failure last_failure = 20;
      • clearLastFailure

        public ActivityExecutionInfo.Builder clearLastFailure()
         Failure details from the last failed attempt.
         
        .temporal.api.failure.v1.Failure last_failure = 20;
      • getLastFailureBuilder

        public Failure.Builder getLastFailureBuilder()
         Failure details from the last failed attempt.
         
        .temporal.api.failure.v1.Failure last_failure = 20;
      • setLastWorkerIdentity

        public ActivityExecutionInfo.Builder setLastWorkerIdentity​(java.lang.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;
      • 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.
      • getPriorityBuilder

        public Priority.Builder getPriorityBuilder()
         Priority metadata.
         
        .temporal.api.common.v1.Priority priority = 26;
      • 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.
      • 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;
      • hasHeader

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

        public Header.Builder getHeaderBuilder()
        .temporal.api.common.v1.Header header = 30;
      • 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;
      • getCanceledReason

        public java.lang.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​(java.lang.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.
      • 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>