Class ActivityExecutionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.activity.v1.ActivityExecutionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityExecutionInfoOrBuilder,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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about a standalone activity.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnique identifier of this activity within its namespace along with run ID (below).com.google.protobuf.ByteStringUnique identifier of this activity within its namespace along with run ID (below).The type of the activity, a string that maps to a registered activity on a worker.The type of the activity, a string that maps to a registered activity on a worker.intThe attempt this activity is currently on.Set if activity cancelation was requested.com.google.protobuf.ByteStringSet if activity cancelation was requested.com.google.protobuf.TimestampTime when the activity transitioned to a closed state.com.google.protobuf.TimestampOrBuilderTime when the activity transitioned to a closed state.com.google.protobuf.DurationTime from the last attempt failure to the next activity retry.com.google.protobuf.DurationOrBuilderTime from the last attempt failure to the next activity retry.static ActivityExecutionInfostatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationHow long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.DurationOrBuilderHow long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.TimestampThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.com.google.protobuf.TimestampOrBuilderThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.com.google.protobuf.TimestampThe time at which the activity's Schedule-to-Close timeout expires.com.google.protobuf.TimestampOrBuilderThe time at which the activity's Schedule-to-Close timeout expires..temporal.api.common.v1.Header header = 30;.temporal.api.common.v1.Header header = 30;Details provided in the last recorded activity heartbeat.Details provided in the last recorded activity heartbeat.com.google.protobuf.DurationMaximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuilderMaximum permitted time between successful worker heartbeats.com.google.protobuf.TimestampThe time when the last activity attempt completed.com.google.protobuf.TimestampOrBuilderThe time when the last activity attempt completed.The Worker Deployment Version this activity was dispatched to most recently.The Worker Deployment Version this activity was dispatched to most recently.Failure details from the last failed attempt.Failure details from the last failed attempt.com.google.protobuf.TimestampTime the last heartbeat was recorded.com.google.protobuf.TimestampOrBuilderTime the last heartbeat was recorded.com.google.protobuf.TimestampTime the last attempt was started.com.google.protobuf.TimestampOrBuilderTime the last attempt was started.string last_worker_identity = 21;com.google.protobuf.ByteStringstring last_worker_identity = 21;getLinks(int index) Links to related entities, such as the entity that started this activity.intLinks to related entities, such as the entity that started this activity.Links to related entities, such as the entity that started this activity.getLinksOrBuilder(int index) Links to related entities, such as the entity that started this activity.List<? extends LinkOrBuilder> Links to related entities, such as the entity that started this activity.com.google.protobuf.TimestampThe time when the next activity attempt will be scheduled.com.google.protobuf.TimestampOrBuilderThe time when the next activity attempt will be scheduled.com.google.protobuf.Parser<ActivityExecutionInfo> Priority metadata.Priority metadata.The retry policy for the activity.The retry policy for the activity.getRunId()string run_id = 2;com.google.protobuf.ByteStringstring run_id = 2;More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.intMore detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.com.google.protobuf.TimestampTime the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.TimestampOrBuilderTime the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.DurationIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuilderIndicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationLimits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuilderLimits time an activity task can stay in a task queue before a worker picks it up.The name of the SDK of the worker that most recently picked up an attempt of this activity.com.google.protobuf.ByteStringThe name of the SDK of the worker that most recently picked up an attempt of this activity.The version of the SDK of the worker that most recently picked up an attempt of this activity.com.google.protobuf.ByteStringThe version of the SDK of the worker that most recently picked up an attempt of this activity..temporal.api.common.v1.SearchAttributes search_attributes = 29;.temporal.api.common.v1.SearchAttributes search_attributes = 29;intcom.google.protobuf.DurationTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationOrBuilderTime to wait before making the first activity task available for dispatch.com.google.protobuf.DurationMaximum time a single activity attempt is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuilderMaximum time a single activity attempt is allowed to execute after being picked up by a worker.longUpdated once on scheduled and once on terminal status.longIncremented each time the activity's state is mutated in persistence.A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.intA general status for this activity, indicates whether it is currently running or in one of the terminal statuses.string task_queue = 6;com.google.protobuf.ByteStringstring task_queue = 6;longTotal number of heartbeats recorded across all attempts of this activity, including retries.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.booleanThe type of the activity, a string that maps to a registered activity on a worker.booleanTime when the activity transitioned to a closed state.booleanTime from the last attempt failure to the next activity retry.booleanHow long this activity has been running for, including all attempts and backoff between attempts.booleanThe time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.booleanThe time at which the activity's Schedule-to-Close timeout expires.inthashCode()boolean.temporal.api.common.v1.Header header = 30;booleanDetails provided in the last recorded activity heartbeat.booleanMaximum permitted time between successful worker heartbeats.booleanThe time when the last activity attempt completed.booleanThe Worker Deployment Version this activity was dispatched to most recently.booleanFailure details from the last failed attempt.booleanTime the last heartbeat was recorded.booleanTime the last attempt was started.booleanThe time when the next activity attempt will be scheduled.booleanPriority metadata.booleanThe retry policy for the activity.booleanTime the activity was originally scheduled via a StartActivityExecution request.booleanIndicates how long the caller is willing to wait for an activity completion.booleanLimits time an activity task can stay in a task queue before a worker picks it up.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 29;booleanTime to wait before making the first activity task available for dispatch.booleanMaximum time a single activity attempt is allowed to execute after being picked up by a worker.booleanMetadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ActivityExecutionInfo prototype) protected ActivityExecutionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ActivityExecutionInfoparseDelimitedFrom(InputStream input) static ActivityExecutionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionInfoparseFrom(byte[] data) static ActivityExecutionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionInfoparseFrom(com.google.protobuf.ByteString data) static ActivityExecutionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input) static ActivityExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionInfoparseFrom(InputStream input) static ActivityExecutionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActivityExecutionInfoparseFrom(ByteBuffer data) static ActivityExecutionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ActivityExecutionInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACTIVITY_ID_FIELD_NUMBER
public static final int ACTIVITY_ID_FIELD_NUMBER- See Also:
-
RUN_ID_FIELD_NUMBER
public static final int RUN_ID_FIELD_NUMBER- See Also:
-
ACTIVITY_TYPE_FIELD_NUMBER
public static final int ACTIVITY_TYPE_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
RUN_STATE_FIELD_NUMBER
public static final int RUN_STATE_FIELD_NUMBER- See Also:
-
TASK_QUEUE_FIELD_NUMBER
public static final int TASK_QUEUE_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER- See Also:
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
HEARTBEAT_TIMEOUT_FIELD_NUMBER
public static final int HEARTBEAT_TIMEOUT_FIELD_NUMBER- See Also:
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
HEARTBEAT_DETAILS_FIELD_NUMBER
public static final int HEARTBEAT_DETAILS_FIELD_NUMBER- See Also:
-
LAST_HEARTBEAT_TIME_FIELD_NUMBER
public static final int LAST_HEARTBEAT_TIME_FIELD_NUMBER- See Also:
-
LAST_STARTED_TIME_FIELD_NUMBER
public static final int LAST_STARTED_TIME_FIELD_NUMBER- See Also:
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER- See Also:
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER- See Also:
-
SCHEDULE_TIME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER- See Also:
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER- See Also:
-
CLOSE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER- See Also:
-
LAST_FAILURE_FIELD_NUMBER
public static final int LAST_FAILURE_FIELD_NUMBER- See Also:
-
LAST_WORKER_IDENTITY_FIELD_NUMBER
public static final int LAST_WORKER_IDENTITY_FIELD_NUMBER- See Also:
-
CURRENT_RETRY_INTERVAL_FIELD_NUMBER
public static final int CURRENT_RETRY_INTERVAL_FIELD_NUMBER- See Also:
-
LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER- See Also:
-
NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER- See Also:
-
LAST_DEPLOYMENT_VERSION_FIELD_NUMBER
public static final int LAST_DEPLOYMENT_VERSION_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
STATE_TRANSITION_COUNT_FIELD_NUMBER
public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER- See Also:
-
STATE_SIZE_BYTES_FIELD_NUMBER
public static final int STATE_SIZE_BYTES_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
USER_METADATA_FIELD_NUMBER
public static final int USER_METADATA_FIELD_NUMBER- See Also:
-
CANCELED_REASON_FIELD_NUMBER
public static final int CANCELED_REASON_FIELD_NUMBER- See Also:
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER- See Also:
-
TOTAL_HEARTBEAT_COUNT_FIELD_NUMBER
public static final int TOTAL_HEARTBEAT_COUNT_FIELD_NUMBER- See Also:
-
SDK_NAME_FIELD_NUMBER
public static final int SDK_NAME_FIELD_NUMBER- See Also:
-
SDK_VERSION_FIELD_NUMBER
public static final int SDK_VERSION_FIELD_NUMBER- See Also:
-
START_DELAY_FIELD_NUMBER
public static final int START_DELAY_FIELD_NUMBER- See Also:
-
EXECUTION_TIME_FIELD_NUMBER
public static final int EXECUTION_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getActivityId
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Specified by:
getActivityIdin interfaceActivityExecutionInfoOrBuilder- 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:
getActivityIdBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for activityId.
-
getRunId
string run_id = 2;- Specified by:
getRunIdin interfaceActivityExecutionInfoOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()string run_id = 2;- Specified by:
getRunIdBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for runId.
-
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:
hasActivityTypein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the activityType field is set.
-
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:
getActivityTypein interfaceActivityExecutionInfoOrBuilder- Returns:
- The activityType.
-
getActivityTypeOrBuilder
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
getActivityTypeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
getStatusValuein interfaceActivityExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
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:
getStatusin interfaceActivityExecutionInfoOrBuilder- 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:
getRunStateValuein interfaceActivityExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for runState.
-
getRunState
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Specified by:
getRunStatein interfaceActivityExecutionInfoOrBuilder- Returns:
- The runState.
-
getTaskQueue
string task_queue = 6;- Specified by:
getTaskQueuein interfaceActivityExecutionInfoOrBuilder- Returns:
- The taskQueue.
-
getTaskQueueBytes
public com.google.protobuf.ByteString getTaskQueueBytes()string task_queue = 6;- Specified by:
getTaskQueueBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for taskQueue.
-
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:
hasScheduleToCloseTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleToCloseTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleToCloseTimeoutOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasScheduleToStartTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleToStartTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleToStartTimeoutOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasStartToCloseTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getStartToCloseTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getStartToCloseTimeoutOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasHeartbeatTimeout
public boolean hasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
hasHeartbeatTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getHeartbeatTimeoutin interfaceActivityExecutionInfoOrBuilder- 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:
getHeartbeatTimeoutOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasRetryPolicyin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceActivityExecutionInfoOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasHeartbeatDetails
public boolean hasHeartbeatDetails()Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12;- Specified by:
hasHeartbeatDetailsin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12;- Specified by:
getHeartbeatDetailsin interfaceActivityExecutionInfoOrBuilder- Returns:
- The heartbeatDetails.
-
getHeartbeatDetailsOrBuilder
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12;- Specified by:
getHeartbeatDetailsOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasLastHeartbeatTime
public boolean hasLastHeartbeatTime()Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;- Specified by:
hasLastHeartbeatTimein interfaceActivityExecutionInfoOrBuilder- 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:
getLastHeartbeatTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastHeartbeatTime.
-
getLastHeartbeatTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;- Specified by:
getLastHeartbeatTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasLastStartedTime
public boolean hasLastStartedTime()Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;- Specified by:
hasLastStartedTimein interfaceActivityExecutionInfoOrBuilder- 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:
getLastStartedTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastStartedTime.
-
getLastStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;- Specified by:
getLastStartedTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getAttempt
public int getAttempt()The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
int32 attempt = 15;- Specified by:
getAttemptin interfaceActivityExecutionInfoOrBuilder- 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:
hasExecutionDurationin interfaceActivityExecutionInfoOrBuilder- 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:
getExecutionDurationin interfaceActivityExecutionInfoOrBuilder- 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:
getExecutionDurationOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasScheduleTime
public boolean hasScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;- Specified by:
hasScheduleTimein interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleTimein interfaceActivityExecutionInfoOrBuilder- 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:
getScheduleTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
hasExpirationTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public com.google.protobuf.Timestamp getExpirationTime()The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
getExpirationTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
getExpirationTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime()Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;- Specified by:
hasCloseTimein interfaceActivityExecutionInfoOrBuilder- 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:
getCloseTimein interfaceActivityExecutionInfoOrBuilder- 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:
getCloseTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasLastFailure
public boolean hasLastFailure()Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
hasLastFailurein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the lastFailure field is set.
-
getLastFailure
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
getLastFailurein interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastFailure.
-
getLastFailureOrBuilder
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
getLastFailureOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getLastWorkerIdentity
string last_worker_identity = 21;- Specified by:
getLastWorkerIdentityin interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastWorkerIdentity.
-
getLastWorkerIdentityBytes
public com.google.protobuf.ByteString getLastWorkerIdentityBytes()string last_worker_identity = 21;- Specified by:
getLastWorkerIdentityBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for lastWorkerIdentity.
-
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:
hasCurrentRetryIntervalin interfaceActivityExecutionInfoOrBuilder- 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:
getCurrentRetryIntervalin interfaceActivityExecutionInfoOrBuilder- 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:
getCurrentRetryIntervalOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasLastAttemptCompleteTimein interfaceActivityExecutionInfoOrBuilder- 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:
getLastAttemptCompleteTimein interfaceActivityExecutionInfoOrBuilder- 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:
getLastAttemptCompleteTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasNextAttemptScheduleTimein interfaceActivityExecutionInfoOrBuilder- 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:
getNextAttemptScheduleTimein interfaceActivityExecutionInfoOrBuilder- 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:
getNextAttemptScheduleTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasLastDeploymentVersionin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the lastDeploymentVersion field is set.
-
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:
getLastDeploymentVersionin interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastDeploymentVersion.
-
getLastDeploymentVersionOrBuilder
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;- Specified by:
getLastDeploymentVersionOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasPriority
public boolean hasPriority()Priority metadata.
.temporal.api.common.v1.Priority priority = 26;- Specified by:
hasPriorityin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;- Specified by:
getPriorityin interfaceActivityExecutionInfoOrBuilder- Returns:
- The priority.
-
getPriorityOrBuilder
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;- Specified by:
getPriorityOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getStateTransitionCount
public long getStateTransitionCount()Incremented each time the activity's state is mutated in persistence.
int64 state_transition_count = 27;- Specified by:
getStateTransitionCountin interfaceActivityExecutionInfoOrBuilder- Returns:
- The stateTransitionCount.
-
getStateSizeBytes
public long getStateSizeBytes()Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Specified by:
getStateSizeBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The stateSizeBytes.
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
hasSearchAttributesin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
getSearchAttributesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
getSearchAttributesOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasHeader
public boolean hasHeader().temporal.api.common.v1.Header header = 30;- Specified by:
hasHeaderin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
.temporal.api.common.v1.Header header = 30;- Specified by:
getHeaderin interfaceActivityExecutionInfoOrBuilder- Returns:
- The header.
-
getHeaderOrBuilder
.temporal.api.common.v1.Header header = 30;- Specified by:
getHeaderOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
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:
hasUserMetadatain interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the userMetadata field is set.
-
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:
getUserMetadatain interfaceActivityExecutionInfoOrBuilder- Returns:
- The userMetadata.
-
getUserMetadataOrBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;- Specified by:
getUserMetadataOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getCanceledReason
Set if activity cancelation was requested.
string canceled_reason = 32;- Specified by:
getCanceledReasonin interfaceActivityExecutionInfoOrBuilder- Returns:
- The canceledReason.
-
getCanceledReasonBytes
public com.google.protobuf.ByteString getCanceledReasonBytes()Set if activity cancelation was requested.
string canceled_reason = 32;- Specified by:
getCanceledReasonBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for canceledReason.
-
getLinksList
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33;- Specified by:
getLinksListin interfaceActivityExecutionInfoOrBuilder
-
getLinksOrBuilderList
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33;- Specified by:
getLinksOrBuilderListin interfaceActivityExecutionInfoOrBuilder
-
getLinksCount
public int getLinksCount()Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33;- Specified by:
getLinksCountin interfaceActivityExecutionInfoOrBuilder
-
getLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33;- Specified by:
getLinksin interfaceActivityExecutionInfoOrBuilder
-
getLinksOrBuilder
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33;- Specified by:
getLinksOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getTotalHeartbeatCount
public long getTotalHeartbeatCount()Total number of heartbeats recorded across all attempts of this activity, including retries.
int64 total_heartbeat_count = 34;- Specified by:
getTotalHeartbeatCountin interfaceActivityExecutionInfoOrBuilder- Returns:
- The totalHeartbeatCount.
-
getSdkName
The name of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_name = 35;- Specified by:
getSdkNamein interfaceActivityExecutionInfoOrBuilder- Returns:
- The sdkName.
-
getSdkNameBytes
public com.google.protobuf.ByteString getSdkNameBytes()The name of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_name = 35;- Specified by:
getSdkNameBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for sdkName.
-
getSdkVersion
The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_version = 36;- Specified by:
getSdkVersionin interfaceActivityExecutionInfoOrBuilder- Returns:
- The sdkVersion.
-
getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_version = 36;- Specified by:
getSdkVersionBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The bytes for sdkVersion.
-
hasStartDelay
public boolean hasStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37;- Specified by:
hasStartDelayin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the startDelay field is set.
-
getStartDelay
public com.google.protobuf.Duration getStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37;- Specified by:
getStartDelayin interfaceActivityExecutionInfoOrBuilder- Returns:
- The startDelay.
-
getStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37;- Specified by:
getStartDelayOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasExecutionTime
public boolean hasExecutionTime()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38;- Specified by:
hasExecutionTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the executionTime field is set.
-
getExecutionTime
public com.google.protobuf.Timestamp getExecutionTime()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38;- Specified by:
getExecutionTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- The executionTime.
-
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38;- Specified by:
getExecutionTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ActivityExecutionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ActivityExecutionInfo parseFrom(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
- Throws:
IOException
-
parseFrom
public static ActivityExecutionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ActivityExecutionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ActivityExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ActivityExecutionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-