Class ActivityExecutionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ActivityExecutionInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
io.temporal.api.activity.v1.ActivityExecutionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ActivityExecutionInfoOrBuilder,Cloneable
- Enclosing class:
ActivityExecutionInfo
public static final class ActivityExecutionInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
implements ActivityExecutionInfoOrBuilder
Information about a standalone activity.Protobuf type
temporal.api.activity.v1.ActivityExecutionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) Links to related entities, such as the entity that started this activity.Links to related entities, such as the entity that started this activity.addLinks(int index, Link.Builder builderForValue) Links to related entities, such as the entity that started this activity.Links to related entities, such as the entity that started this activity.addLinks(Link.Builder builderForValue) Links to related entities, such as the entity that started this activity.Links to related entities, such as the entity that started this activity.addLinksBuilder(int index) Links to related entities, such as the entity that started this activity.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Unique 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 attempt this activity is currently on.Set if activity cancelation was requested.Time when the activity transitioned to a closed state.Time from the last attempt failure to the next activity retry.How long this activity has been running for, including all attempts and backoff between attempts.The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.The time at which the activity's Schedule-to-Close timeout expires.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Header header = 30;Details provided in the last recorded activity heartbeat.Maximum permitted time between successful worker heartbeats.The time when the last activity attempt completed.The Worker Deployment Version this activity was dispatched to most recently.Failure details from the last failed attempt.Time the last heartbeat was recorded.Time the last attempt was started.string last_worker_identity = 21;Links to related entities, such as the entity that started this activity.The time when the next activity attempt will be scheduled.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Priority metadata.The retry policy for the activity.string run_id = 2;More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.Time the activity was originally scheduled via a StartActivityExecution request.Indicates how long the caller is willing to wait for an activity completion.Limits 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.The 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;Time to wait before making the first activity task available for dispatch.Maximum time a single activity attempt is allowed to execute after being picked up by a worker.Updated once on scheduled and once on terminal status.Incremented 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.string task_queue = 6;Total 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.clone()Unique 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.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.Timestamp.BuilderTime 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.Duration.BuilderTime 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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationHow long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.Duration.BuilderHow 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.Timestamp.BuilderThe 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.Timestamp.BuilderThe 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;.temporal.api.common.v1.Header header = 30;Details provided in the last recorded activity heartbeat.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.Duration.BuilderMaximum 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.Timestamp.BuilderThe 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.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.Failure details from the last failed attempt.com.google.protobuf.TimestampTime the last heartbeat was recorded.com.google.protobuf.Timestamp.BuilderTime 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.Timestamp.BuilderTime 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.getLinksBuilder(int index) Links to related entities, such as the entity that started this activity.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.Timestamp.BuilderThe time when the next activity attempt will be scheduled.com.google.protobuf.TimestampOrBuilderThe time when the next activity attempt will be scheduled.Priority metadata.Priority metadata.Priority metadata.The retry policy for the activity.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.Timestamp.BuilderTime 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.Duration.BuilderIndicates 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.Duration.BuilderLimits 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;.temporal.api.common.v1.SearchAttributes search_attributes = 29;com.google.protobuf.DurationTime to wait before making the first activity task available for dispatch.com.google.protobuf.Duration.BuilderTime 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.Duration.BuilderMaximum 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.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.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 booleanmergeActivityType(ActivityType value) The type of the activity, a string that maps to a registered activity on a worker.mergeCloseTime(com.google.protobuf.Timestamp value) Time when the activity transitioned to a closed state.mergeCurrentRetryInterval(com.google.protobuf.Duration value) Time from the last attempt failure to the next activity retry.mergeExecutionDuration(com.google.protobuf.Duration value) How long this activity has been running for, including all attempts and backoff between attempts.mergeExecutionTime(com.google.protobuf.Timestamp value) The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.mergeExpirationTime(com.google.protobuf.Timestamp value) The time at which the activity's Schedule-to-Close timeout expires.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ActivityExecutionInfo other) mergeHeader(Header value) .temporal.api.common.v1.Header header = 30;mergeHeartbeatDetails(Payloads value) Details provided in the last recorded activity heartbeat.mergeHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last activity attempt completed.The Worker Deployment Version this activity was dispatched to most recently.mergeLastFailure(Failure value) Failure details from the last failed attempt.mergeLastHeartbeatTime(com.google.protobuf.Timestamp value) Time the last heartbeat was recorded.mergeLastStartedTime(com.google.protobuf.Timestamp value) Time the last attempt was started.mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next activity attempt will be scheduled.mergePriority(Priority value) Priority metadata.mergeRetryPolicy(RetryPolicy value) The retry policy for the activity.mergeScheduleTime(com.google.protobuf.Timestamp value) Time the activity was originally scheduled via a StartActivityExecution request.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up..temporal.api.common.v1.SearchAttributes search_attributes = 29;mergeStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.mergeStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time a single activity attempt is allowed to execute after being picked up by a worker.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.removeLinks(int index) Links to related entities, such as the entity that started this activity.setActivityId(String value) Unique identifier of this activity within its namespace along with run ID (below).setActivityIdBytes(com.google.protobuf.ByteString value) Unique identifier of this activity within its namespace along with run ID (below).setActivityType(ActivityType value) The type of the activity, a string that maps to a registered activity on a worker.setActivityType(ActivityType.Builder builderForValue) The type of the activity, a string that maps to a registered activity on a worker.setAttempt(int value) The attempt this activity is currently on.setCanceledReason(String value) Set if activity cancelation was requested.setCanceledReasonBytes(com.google.protobuf.ByteString value) Set if activity cancelation was requested.setCloseTime(com.google.protobuf.Timestamp value) Time when the activity transitioned to a closed state.setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the activity transitioned to a closed state.setCurrentRetryInterval(com.google.protobuf.Duration value) Time from the last attempt failure to the next activity retry.setCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue) Time from the last attempt failure to the next activity retry.setExecutionDuration(com.google.protobuf.Duration value) How long this activity has been running for, including all attempts and backoff between attempts.setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) How long this activity has been running for, including all attempts and backoff between attempts.setExecutionTime(com.google.protobuf.Timestamp value) The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`.setExpirationTime(com.google.protobuf.Timestamp value) The time at which the activity's Schedule-to-Close timeout expires.setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the activity's Schedule-to-Close timeout expires..temporal.api.common.v1.Header header = 30;setHeader(Header.Builder builderForValue) .temporal.api.common.v1.Header header = 30;setHeartbeatDetails(Payloads value) Details provided in the last recorded activity heartbeat.setHeartbeatDetails(Payloads.Builder builderForValue) Details provided in the last recorded activity heartbeat.setHeartbeatTimeout(com.google.protobuf.Duration value) Maximum permitted time between successful worker heartbeats.setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.setLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last activity attempt completed.setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the last activity attempt completed.The Worker Deployment Version this activity was dispatched to most recently.setLastDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) The Worker Deployment Version this activity was dispatched to most recently.setLastFailure(Failure value) Failure details from the last failed attempt.setLastFailure(Failure.Builder builderForValue) Failure details from the last failed attempt.setLastHeartbeatTime(com.google.protobuf.Timestamp value) Time the last heartbeat was recorded.setLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the last heartbeat was recorded.setLastStartedTime(com.google.protobuf.Timestamp value) Time the last attempt was started.setLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the last attempt was started.setLastWorkerIdentity(String value) string last_worker_identity = 21;setLastWorkerIdentityBytes(com.google.protobuf.ByteString value) string last_worker_identity = 21;Links to related entities, such as the entity that started this activity.setLinks(int index, Link.Builder builderForValue) Links to related entities, such as the entity that started this activity.setNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next activity attempt will be scheduled.setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the next activity attempt will be scheduled.setPriority(Priority value) Priority metadata.setPriority(Priority.Builder builderForValue) Priority metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryPolicy(RetryPolicy value) The retry policy for the activity.setRetryPolicy(RetryPolicy.Builder builderForValue) The retry policy for the activity.string run_id = 2;setRunIdBytes(com.google.protobuf.ByteString value) string run_id = 2;setRunState(PendingActivityState value) More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.setRunStateValue(int value) More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.setScheduleTime(com.google.protobuf.Timestamp value) Time the activity was originally scheduled via a StartActivityExecution request.setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the activity was originally scheduled via a StartActivityExecution request.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for an activity completion.setScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits time an activity task can stay in a task queue before a worker picks it up.setSdkName(String value) The name of the SDK of the worker that most recently picked up an attempt of this activity.setSdkNameBytes(com.google.protobuf.ByteString value) The name of the SDK of the worker that most recently picked up an attempt of this activity.setSdkVersion(String value) The version of the SDK of the worker that most recently picked up an attempt of this activity.setSdkVersionBytes(com.google.protobuf.ByteString value) The 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;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 29;setStartDelay(com.google.protobuf.Duration value) Time to wait before making the first activity task available for dispatch.setStartDelay(com.google.protobuf.Duration.Builder builderForValue) Time to wait before making the first activity task available for dispatch.setStartToCloseTimeout(com.google.protobuf.Duration value) Maximum time a single activity attempt is allowed to execute after being picked up by a worker.setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum time a single activity attempt is allowed to execute after being picked up by a worker.setStateSizeBytes(long value) Updated once on scheduled and once on terminal status.setStateTransitionCount(long value) Incremented each time the activity's state is mutated in persistence.setStatus(ActivityExecutionStatus value) A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.setStatusValue(int value) A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.setTaskQueue(String value) string task_queue = 6;setTaskQueueBytes(com.google.protobuf.ByteString value) string task_queue = 6;setTotalHeartbeatCount(long value) Total number of heartbeats recorded across all attempts of this activity, including retries.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.setUserMetadata(UserMetadata.Builder builderForValue) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ActivityExecutionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
setField
public ActivityExecutionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
clearField
public ActivityExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
clearOneof
public ActivityExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
setRepeatedField
public ActivityExecutionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
addRepeatedField
public ActivityExecutionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityExecutionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
mergeFrom
public ActivityExecutionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityExecutionInfo.Builder>- Throws:
IOException
-
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.
-
setActivityId
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Returns:
- This builder for chaining.
-
setActivityIdBytes
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
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.
-
setRunId
string run_id = 2;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
string run_id = 2;- Returns:
- This builder for chaining.
-
setRunIdBytes
string run_id = 2;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasActivityType
public boolean hasActivityType()The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
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.
-
setActivityType
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3; -
setActivityType
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3; -
mergeActivityType
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3; -
clearActivityType
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3; -
getActivityTypeBuilder
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3; -
getActivityTypeOrBuilder
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.
-
setStatusValue
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
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.
-
setStatus
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Returns:
- This builder for chaining.
-
getRunStateValue
public int getRunStateValue()More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Specified by:
getRunStateValuein interfaceActivityExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for runState.
-
setRunStateValue
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Parameters:
value- The enum numeric value on the wire for runState to set.- Returns:
- This builder for chaining.
-
getRunState
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Specified by:
getRunStatein interfaceActivityExecutionInfoOrBuilder- Returns:
- The runState.
-
setRunState
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Parameters:
value- The runState to set.- Returns:
- This builder for chaining.
-
clearRunState
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Returns:
- This builder for chaining.
-
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.
-
setTaskQueue
string task_queue = 6;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
string task_queue = 6;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
string task_queue = 6;- Parameters:
value- The bytes for taskQueue to set.- Returns:
- This builder for chaining.
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
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.
-
setScheduleToCloseTimeout
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
setScheduleToCloseTimeout
public ActivityExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
mergeScheduleToCloseTimeout
public ActivityExecutionInfo.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
clearScheduleToCloseTimeout
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7; -
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
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.
-
setScheduleToStartTimeout
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
setScheduleToStartTimeout
public ActivityExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
mergeScheduleToStartTimeout
public ActivityExecutionInfo.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
clearScheduleToStartTimeout
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8; -
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
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.
-
setStartToCloseTimeout
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
setStartToCloseTimeout
public ActivityExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
mergeStartToCloseTimeout
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
clearStartToCloseTimeout
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9; -
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
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.
-
setHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
setHeartbeatTimeout
public ActivityExecutionInfo.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue) Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
mergeHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
clearHeartbeatTimeout
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10; -
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
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.
-
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
setRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
mergeRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
clearRetryPolicy
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
getRetryPolicyBuilder
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11; -
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.
-
setHeartbeatDetails
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12; -
setHeartbeatDetails
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12; -
mergeHeartbeatDetails
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12; -
clearHeartbeatDetails
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12; -
getHeartbeatDetailsBuilder
Details provided in the last recorded activity heartbeat. DescribeActivityExecution does not set this field unless include_heartbeat_details was true in the request.
.temporal.api.common.v1.Payloads heartbeat_details = 12; -
getHeartbeatDetailsOrBuilder
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.
-
setLastHeartbeatTime
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13; -
setLastHeartbeatTime
public ActivityExecutionInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13; -
mergeLastHeartbeatTime
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13; -
clearLastHeartbeatTime
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13; -
getLastHeartbeatTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastHeartbeatTimeBuilder()Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13; -
getLastHeartbeatTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;- Specified by:
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.
-
setLastStartedTime
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14; -
setLastStartedTime
public ActivityExecutionInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14; -
mergeLastStartedTime
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14; -
clearLastStartedTime
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14; -
getLastStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastStartedTimeBuilder()Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14; -
getLastStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;- Specified by:
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.
-
setAttempt
The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
int32 attempt = 15;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
int32 attempt = 15;- Returns:
- This builder for chaining.
-
hasExecutionDuration
public boolean hasExecutionDuration()How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;- Specified by:
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.
-
setExecutionDuration
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16; -
setExecutionDuration
public ActivityExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16; -
mergeExecutionDuration
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16; -
clearExecutionDuration
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16; -
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16; -
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;- Specified by:
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.
-
setScheduleTime
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17; -
setScheduleTime
public ActivityExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17; -
mergeScheduleTime
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17; -
clearScheduleTime
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17; -
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17; -
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;- Specified by:
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.
-
setExpirationTime
The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18; -
setExpirationTime
public ActivityExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18; -
mergeExpirationTime
The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18; -
clearExpirationTime
The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18; -
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18; -
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()The time at which the activity's Schedule-to-Close timeout expires. Calculated as `schedule_time` + `start_delay` + `schedule_to_close_timeout`.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
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.
-
setCloseTime
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19; -
setCloseTime
public ActivityExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19; -
mergeCloseTime
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19; -
clearCloseTime
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19; -
getCloseTimeBuilder
public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19; -
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;- Specified by:
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.
-
setLastFailure
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20; -
setLastFailure
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20; -
mergeLastFailure
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20; -
clearLastFailure
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20; -
getLastFailureBuilder
Failure details from the last failed attempt. DescribeActivityExecution does not set this field unless include_last_failure was true in the request.
.temporal.api.failure.v1.Failure last_failure = 20; -
getLastFailureOrBuilder
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.
-
setLastWorkerIdentity
string last_worker_identity = 21;- Parameters:
value- The lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
clearLastWorkerIdentity
string last_worker_identity = 21;- Returns:
- This builder for chaining.
-
setLastWorkerIdentityBytes
public ActivityExecutionInfo.Builder setLastWorkerIdentityBytes(com.google.protobuf.ByteString value) string last_worker_identity = 21;- Parameters:
value- The bytes for lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
hasCurrentRetryInterval
public boolean hasCurrentRetryInterval()Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;- Specified by:
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.
-
setCurrentRetryInterval
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22; -
setCurrentRetryInterval
public ActivityExecutionInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue) Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22; -
mergeCurrentRetryInterval
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22; -
clearCurrentRetryInterval
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22; -
getCurrentRetryIntervalBuilder
public com.google.protobuf.Duration.Builder getCurrentRetryIntervalBuilder()Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22; -
getCurrentRetryIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getCurrentRetryIntervalOrBuilder()Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;- Specified by:
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.
-
setLastAttemptCompleteTime
public ActivityExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23; -
setLastAttemptCompleteTime
public ActivityExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23; -
mergeLastAttemptCompleteTime
public ActivityExecutionInfo.Builder mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23; -
clearLastAttemptCompleteTime
The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23; -
getLastAttemptCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23; -
getLastAttemptCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23;- Specified by:
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.
-
setNextAttemptScheduleTime
public ActivityExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24; -
setNextAttemptScheduleTime
public ActivityExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24; -
mergeNextAttemptScheduleTime
public ActivityExecutionInfo.Builder mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24; -
clearNextAttemptScheduleTime
The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24; -
getNextAttemptScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24; -
getNextAttemptScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24;- Specified by:
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.
-
setLastDeploymentVersion
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
setLastDeploymentVersion
public ActivityExecutionInfo.Builder setLastDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue) The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
mergeLastDeploymentVersion
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
clearLastDeploymentVersion
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
getLastDeploymentVersionBuilder
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25; -
getLastDeploymentVersionOrBuilder
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.
-
setPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 26; -
setPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 26; -
mergePriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 26; -
clearPriority
Priority metadata.
.temporal.api.common.v1.Priority priority = 26; -
getPriorityBuilder
Priority metadata.
.temporal.api.common.v1.Priority priority = 26; -
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.
-
setStateTransitionCount
Incremented each time the activity's state is mutated in persistence.
int64 state_transition_count = 27;- Parameters:
value- The stateTransitionCount to set.- Returns:
- This builder for chaining.
-
clearStateTransitionCount
Incremented each time the activity's state is mutated in persistence.
int64 state_transition_count = 27;- Returns:
- This builder for chaining.
-
getStateSizeBytes
public long getStateSizeBytes()Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Specified by:
getStateSizeBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The stateSizeBytes.
-
setStateSizeBytes
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Parameters:
value- The stateSizeBytes to set.- Returns:
- This builder for chaining.
-
clearStateSizeBytes
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Returns:
- This builder for chaining.
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
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.
-
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 29; -
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 29; -
mergeSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 29; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 29; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 29; -
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.
-
setHeader
.temporal.api.common.v1.Header header = 30; -
setHeader
.temporal.api.common.v1.Header header = 30; -
mergeHeader
.temporal.api.common.v1.Header header = 30; -
clearHeader
.temporal.api.common.v1.Header header = 30; -
getHeaderBuilder
.temporal.api.common.v1.Header header = 30; -
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.
-
setUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31; -
setUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31; -
mergeUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31; -
clearUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31; -
getUserMetadataBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31; -
getUserMetadataOrBuilder
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.
-
setCanceledReason
Set if activity cancelation was requested.
string canceled_reason = 32;- Parameters:
value- The canceledReason to set.- Returns:
- This builder for chaining.
-
clearCanceledReason
Set if activity cancelation was requested.
string canceled_reason = 32;- Returns:
- This builder for chaining.
-
setCanceledReasonBytes
Set if activity cancelation was requested.
string canceled_reason = 32;- Parameters:
value- The bytes for canceledReason to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
setLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addAllLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
clearLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
removeLinks
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
getLinksBuilder
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
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
-
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
-
addLinksBuilder
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
addLinksBuilder
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
getLinksBuilderList
Links to related entities, such as the entity that started this activity.
repeated .temporal.api.common.v1.Link links = 33; -
getTotalHeartbeatCount
public long getTotalHeartbeatCount()Total number of heartbeats recorded across all attempts of this activity, including retries.
int64 total_heartbeat_count = 34;- Specified by:
getTotalHeartbeatCountin interfaceActivityExecutionInfoOrBuilder- Returns:
- The totalHeartbeatCount.
-
setTotalHeartbeatCount
Total number of heartbeats recorded across all attempts of this activity, including retries.
int64 total_heartbeat_count = 34;- Parameters:
value- The totalHeartbeatCount to set.- Returns:
- This builder for chaining.
-
clearTotalHeartbeatCount
Total number of heartbeats recorded across all attempts of this activity, including retries.
int64 total_heartbeat_count = 34;- Returns:
- This builder for chaining.
-
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.
-
setSdkName
The name of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_name = 35;- Parameters:
value- The sdkName to set.- Returns:
- This builder for chaining.
-
clearSdkName
The name of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_name = 35;- Returns:
- This builder for chaining.
-
setSdkNameBytes
The name of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_name = 35;- Parameters:
value- The bytes for sdkName to set.- Returns:
- This builder for chaining.
-
getSdkVersion
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.
-
setSdkVersion
The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_version = 36;- Parameters:
value- The sdkVersion to set.- Returns:
- This builder for chaining.
-
clearSdkVersion
The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_version = 36;- Returns:
- This builder for chaining.
-
setSdkVersionBytes
The version of the SDK of the worker that most recently picked up an attempt of this activity. Overwritten on each new attempt. Empty if unknown.
string sdk_version = 36;- Parameters:
value- The bytes for sdkVersion to set.- Returns:
- This builder for chaining.
-
hasStartDelay
public boolean hasStartDelay()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37;- Specified by:
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.
-
setStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37; -
setStartDelay
public ActivityExecutionInfo.Builder setStartDelay(com.google.protobuf.Duration.Builder builderForValue) Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37; -
mergeStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37; -
clearStartDelay
Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37; -
getStartDelayBuilder
public com.google.protobuf.Duration.Builder getStartDelayBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37; -
getStartDelayOrBuilder
public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
.google.protobuf.Duration start_delay = 37;- Specified by:
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.
-
setExecutionTime
The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38; -
setExecutionTime
public ActivityExecutionInfo.Builder setExecutionTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38; -
mergeExecutionTime
The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38; -
clearExecutionTime
The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38; -
getExecutionTimeBuilder
public com.google.protobuf.Timestamp.Builder getExecutionTimeBuilder()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38; -
getExecutionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExecutionTimeOrBuilder()The time at which the first activity task is made available for dispatch, computed as `schedule_time + start_delay`. Same as `schedule_time` if `start_delay` is not set.
.google.protobuf.Timestamp execution_time = 38;- Specified by:
getExecutionTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
setUnknownFields
public final ActivityExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
mergeUnknownFields
public final ActivityExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-