Class ActivityExecutionInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ActivityExecutionInfoOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:ActivityExecutionInfo.java.pb.meta")
    public final class ActivityExecutionInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements ActivityExecutionInfoOrBuilder
     Information about a standalone activity.
     
    Protobuf type temporal.api.activity.v1.ActivityExecutionInfo
    See Also:
    Serialized Form
    • Field Detail

      • ACTIVITY_ID_FIELD_NUMBER

        public static final int ACTIVITY_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTIVITY_TYPE_FIELD_NUMBER

        public static final int ACTIVITY_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TASK_QUEUE_FIELD_NUMBER

        public static final int TASK_QUEUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER

        public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER

        public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • START_TO_CLOSE_TIMEOUT_FIELD_NUMBER

        public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEARTBEAT_TIMEOUT_FIELD_NUMBER

        public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RETRY_POLICY_FIELD_NUMBER

        public static final int RETRY_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEARTBEAT_DETAILS_FIELD_NUMBER

        public static final int HEARTBEAT_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_HEARTBEAT_TIME_FIELD_NUMBER

        public static final int LAST_HEARTBEAT_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_STARTED_TIME_FIELD_NUMBER

        public static final int LAST_STARTED_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXECUTION_DURATION_FIELD_NUMBER

        public static final int EXECUTION_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEDULE_TIME_FIELD_NUMBER

        public static final int SCHEDULE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPIRATION_TIME_FIELD_NUMBER

        public static final int EXPIRATION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLOSE_TIME_FIELD_NUMBER

        public static final int CLOSE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_FAILURE_FIELD_NUMBER

        public static final int LAST_FAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_WORKER_IDENTITY_FIELD_NUMBER

        public static final int LAST_WORKER_IDENTITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CURRENT_RETRY_INTERVAL_FIELD_NUMBER

        public static final int CURRENT_RETRY_INTERVAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER

        public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER

        public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_DEPLOYMENT_VERSION_FIELD_NUMBER

        public static final int LAST_DEPLOYMENT_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATE_TRANSITION_COUNT_FIELD_NUMBER

        public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATE_SIZE_BYTES_FIELD_NUMBER

        public static final int STATE_SIZE_BYTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SEARCH_ATTRIBUTES_FIELD_NUMBER

        public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USER_METADATA_FIELD_NUMBER

        public static final int USER_METADATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CANCELED_REASON_FIELD_NUMBER

        public static final int CANCELED_REASON_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • hasHeader

        public boolean hasHeader()
        .temporal.api.common.v1.Header header = 30;
        Specified by:
        hasHeader in interface ActivityExecutionInfoOrBuilder
        Returns:
        Whether the header field is set.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(java.nio.ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(java.nio.ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(java.io.InputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(java.io.InputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ActivityExecutionInfo parseDelimitedFrom​(java.io.InputStream input)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ActivityExecutionInfo parseDelimitedFrom​(java.io.InputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ActivityExecutionInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected ActivityExecutionInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ActivityExecutionInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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