Package io.temporal.api.activity.v1
Class ActivityExecutionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- ActivityExecutionInfo
public static final class ActivityExecutionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder> implements ActivityExecutionInfoOrBuilder
Information about a standalone activity.
Protobuf typetemporal.api.activity.v1.ActivityExecutionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityExecutionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ActivityExecutionInfobuild()ActivityExecutionInfobuildPartial()ActivityExecutionInfo.Builderclear()ActivityExecutionInfo.BuilderclearActivityId()Unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionInfo.BuilderclearActivityType()The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionInfo.BuilderclearAttempt()The attempt this activity is currently on.ActivityExecutionInfo.BuilderclearCanceledReason()Set if activity cancelation was requested.ActivityExecutionInfo.BuilderclearCloseTime()Time when the activity transitioned to a closed state.ActivityExecutionInfo.BuilderclearCurrentRetryInterval()Time from the last attempt failure to the next activity retry.ActivityExecutionInfo.BuilderclearExecutionDuration()How long this activity has been running for, including all attempts and backoff between attempts.ActivityExecutionInfo.BuilderclearExpirationTime()Scheduled time + schedule to close timeout.ActivityExecutionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ActivityExecutionInfo.BuilderclearHeader().temporal.api.common.v1.Header header = 30;ActivityExecutionInfo.BuilderclearHeartbeatDetails()Details provided in the last recorded activity heartbeat.ActivityExecutionInfo.BuilderclearHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.ActivityExecutionInfo.BuilderclearLastAttemptCompleteTime()The time when the last activity attempt completed.ActivityExecutionInfo.BuilderclearLastDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently.ActivityExecutionInfo.BuilderclearLastFailure()Failure details from the last failed attempt.ActivityExecutionInfo.BuilderclearLastHeartbeatTime()Time the last heartbeat was recorded.ActivityExecutionInfo.BuilderclearLastStartedTime()Time the last attempt was started.ActivityExecutionInfo.BuilderclearLastWorkerIdentity()string last_worker_identity = 21;ActivityExecutionInfo.BuilderclearNextAttemptScheduleTime()The time when the next activity attempt will be scheduled.ActivityExecutionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ActivityExecutionInfo.BuilderclearPriority()Priority metadata.ActivityExecutionInfo.BuilderclearRetryPolicy()The retry policy for the activity.ActivityExecutionInfo.BuilderclearRunId()string run_id = 2;ActivityExecutionInfo.BuilderclearRunState()More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.ActivityExecutionInfo.BuilderclearScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionInfo.BuilderclearScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.ActivityExecutionInfo.BuilderclearScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.ActivityExecutionInfo.BuilderclearSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 29;ActivityExecutionInfo.BuilderclearStartToCloseTimeout()Maximum time a single activity attempt is allowed to execute after being picked up by a worker.ActivityExecutionInfo.BuilderclearStateSizeBytes()Updated once on scheduled and once on terminal status.ActivityExecutionInfo.BuilderclearStateTransitionCount()Incremented each time the activity's state is mutated in persistence.ActivityExecutionInfo.BuilderclearStatus()A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.ActivityExecutionInfo.BuilderclearTaskQueue()string task_queue = 6;ActivityExecutionInfo.BuilderclearUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.ActivityExecutionInfo.Builderclone()java.lang.StringgetActivityId()Unique identifier of this activity within its namespace along with run ID (below).com.google.protobuf.ByteStringgetActivityIdBytes()Unique identifier of this activity within its namespace along with run ID (below).ActivityTypegetActivityType()The type of the activity, a string that maps to a registered activity on a worker.ActivityType.BuildergetActivityTypeBuilder()The type of the activity, a string that maps to a registered activity on a worker.ActivityTypeOrBuildergetActivityTypeOrBuilder()The type of the activity, a string that maps to a registered activity on a worker.intgetAttempt()The attempt this activity is currently on.java.lang.StringgetCanceledReason()Set if activity cancelation was requested.com.google.protobuf.ByteStringgetCanceledReasonBytes()Set if activity cancelation was requested.com.google.protobuf.TimestampgetCloseTime()Time when the activity transitioned to a closed state.com.google.protobuf.Timestamp.BuildergetCloseTimeBuilder()Time when the activity transitioned to a closed state.com.google.protobuf.TimestampOrBuildergetCloseTimeOrBuilder()Time when the activity transitioned to a closed state.com.google.protobuf.DurationgetCurrentRetryInterval()Time from the last attempt failure to the next activity retry.com.google.protobuf.Duration.BuildergetCurrentRetryIntervalBuilder()Time from the last attempt failure to the next activity retry.com.google.protobuf.DurationOrBuildergetCurrentRetryIntervalOrBuilder()Time from the last attempt failure to the next activity retry.ActivityExecutionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetExecutionDuration()How long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.Duration.BuildergetExecutionDurationBuilder()How long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.DurationOrBuildergetExecutionDurationOrBuilder()How long this activity has been running for, including all attempts and backoff between attempts.com.google.protobuf.TimestampgetExpirationTime()Scheduled time + schedule to close timeout.com.google.protobuf.Timestamp.BuildergetExpirationTimeBuilder()Scheduled time + schedule to close timeout.com.google.protobuf.TimestampOrBuildergetExpirationTimeOrBuilder()Scheduled time + schedule to close timeout.HeadergetHeader().temporal.api.common.v1.Header header = 30;Header.BuildergetHeaderBuilder().temporal.api.common.v1.Header header = 30;HeaderOrBuildergetHeaderOrBuilder().temporal.api.common.v1.Header header = 30;PayloadsgetHeartbeatDetails()Details provided in the last recorded activity heartbeat.Payloads.BuildergetHeartbeatDetailsBuilder()Details provided in the last recorded activity heartbeat.PayloadsOrBuildergetHeartbeatDetailsOrBuilder()Details provided in the last recorded activity heartbeat.com.google.protobuf.DurationgetHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.com.google.protobuf.Duration.BuildergetHeartbeatTimeoutBuilder()Maximum permitted time between successful worker heartbeats.com.google.protobuf.DurationOrBuildergetHeartbeatTimeoutOrBuilder()Maximum permitted time between successful worker heartbeats.com.google.protobuf.TimestampgetLastAttemptCompleteTime()The time when the last activity attempt completed.com.google.protobuf.Timestamp.BuildergetLastAttemptCompleteTimeBuilder()The time when the last activity attempt completed.com.google.protobuf.TimestampOrBuildergetLastAttemptCompleteTimeOrBuilder()The time when the last activity attempt completed.WorkerDeploymentVersiongetLastDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently.WorkerDeploymentVersion.BuildergetLastDeploymentVersionBuilder()The Worker Deployment Version this activity was dispatched to most recently.WorkerDeploymentVersionOrBuildergetLastDeploymentVersionOrBuilder()The Worker Deployment Version this activity was dispatched to most recently.FailuregetLastFailure()Failure details from the last failed attempt.Failure.BuildergetLastFailureBuilder()Failure details from the last failed attempt.FailureOrBuildergetLastFailureOrBuilder()Failure details from the last failed attempt.com.google.protobuf.TimestampgetLastHeartbeatTime()Time the last heartbeat was recorded.com.google.protobuf.Timestamp.BuildergetLastHeartbeatTimeBuilder()Time the last heartbeat was recorded.com.google.protobuf.TimestampOrBuildergetLastHeartbeatTimeOrBuilder()Time the last heartbeat was recorded.com.google.protobuf.TimestampgetLastStartedTime()Time the last attempt was started.com.google.protobuf.Timestamp.BuildergetLastStartedTimeBuilder()Time the last attempt was started.com.google.protobuf.TimestampOrBuildergetLastStartedTimeOrBuilder()Time the last attempt was started.java.lang.StringgetLastWorkerIdentity()string last_worker_identity = 21;com.google.protobuf.ByteStringgetLastWorkerIdentityBytes()string last_worker_identity = 21;com.google.protobuf.TimestampgetNextAttemptScheduleTime()The time when the next activity attempt will be scheduled.com.google.protobuf.Timestamp.BuildergetNextAttemptScheduleTimeBuilder()The time when the next activity attempt will be scheduled.com.google.protobuf.TimestampOrBuildergetNextAttemptScheduleTimeOrBuilder()The time when the next activity attempt will be scheduled.PrioritygetPriority()Priority metadata.Priority.BuildergetPriorityBuilder()Priority metadata.PriorityOrBuildergetPriorityOrBuilder()Priority metadata.RetryPolicygetRetryPolicy()The retry policy for the activity.RetryPolicy.BuildergetRetryPolicyBuilder()The retry policy for the activity.RetryPolicyOrBuildergetRetryPolicyOrBuilder()The retry policy for the activity.java.lang.StringgetRunId()string run_id = 2;com.google.protobuf.ByteStringgetRunIdBytes()string run_id = 2;PendingActivityStategetRunState()More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.intgetRunStateValue()More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.com.google.protobuf.TimestampgetScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.Timestamp.BuildergetScheduleTimeBuilder()Time the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.TimestampOrBuildergetScheduleTimeOrBuilder()Time the activity was originally scheduled via a StartActivityExecution request.com.google.protobuf.DurationgetScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.Duration.BuildergetScheduleToCloseTimeoutBuilder()Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Indicates how long the caller is willing to wait for an activity completion.com.google.protobuf.DurationgetScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.Duration.BuildergetScheduleToStartTimeoutBuilder()Limits time an activity task can stay in a task queue before a worker picks it up.com.google.protobuf.DurationOrBuildergetScheduleToStartTimeoutOrBuilder()Limits time an activity task can stay in a task queue before a worker picks it up.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 29;SearchAttributes.BuildergetSearchAttributesBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 29;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 29;com.google.protobuf.DurationgetStartToCloseTimeout()Maximum time a single activity attempt is allowed to execute after being picked up by a worker.com.google.protobuf.Duration.BuildergetStartToCloseTimeoutBuilder()Maximum time a single activity attempt is allowed to execute after being picked up by a worker.com.google.protobuf.DurationOrBuildergetStartToCloseTimeoutOrBuilder()Maximum time a single activity attempt is allowed to execute after being picked up by a worker.longgetStateSizeBytes()Updated once on scheduled and once on terminal status.longgetStateTransitionCount()Incremented each time the activity's state is mutated in persistence.ActivityExecutionStatusgetStatus()A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.intgetStatusValue()A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.java.lang.StringgetTaskQueue()string task_queue = 6;com.google.protobuf.ByteStringgetTaskQueueBytes()string task_queue = 6;UserMetadatagetUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.UserMetadata.BuildergetUserMetadataBuilder()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.UserMetadataOrBuildergetUserMetadataOrBuilder()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.booleanhasActivityType()The type of the activity, a string that maps to a registered activity on a worker.booleanhasCloseTime()Time when the activity transitioned to a closed state.booleanhasCurrentRetryInterval()Time from the last attempt failure to the next activity retry.booleanhasExecutionDuration()How long this activity has been running for, including all attempts and backoff between attempts.booleanhasExpirationTime()Scheduled time + schedule to close timeout.booleanhasHeader().temporal.api.common.v1.Header header = 30;booleanhasHeartbeatDetails()Details provided in the last recorded activity heartbeat.booleanhasHeartbeatTimeout()Maximum permitted time between successful worker heartbeats.booleanhasLastAttemptCompleteTime()The time when the last activity attempt completed.booleanhasLastDeploymentVersion()The Worker Deployment Version this activity was dispatched to most recently.booleanhasLastFailure()Failure details from the last failed attempt.booleanhasLastHeartbeatTime()Time the last heartbeat was recorded.booleanhasLastStartedTime()Time the last attempt was started.booleanhasNextAttemptScheduleTime()The time when the next activity attempt will be scheduled.booleanhasPriority()Priority metadata.booleanhasRetryPolicy()The retry policy for the activity.booleanhasScheduleTime()Time the activity was originally scheduled via a StartActivityExecution request.booleanhasScheduleToCloseTimeout()Indicates how long the caller is willing to wait for an activity completion.booleanhasScheduleToStartTimeout()Limits time an activity task can stay in a task queue before a worker picks it up.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 29;booleanhasStartToCloseTimeout()Maximum time a single activity attempt is allowed to execute after being picked up by a worker.booleanhasUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ActivityExecutionInfo.BuildermergeActivityType(ActivityType value)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionInfo.BuildermergeCloseTime(com.google.protobuf.Timestamp value)Time when the activity transitioned to a closed state.ActivityExecutionInfo.BuildermergeCurrentRetryInterval(com.google.protobuf.Duration value)Time from the last attempt failure to the next activity retry.ActivityExecutionInfo.BuildermergeExecutionDuration(com.google.protobuf.Duration value)How long this activity has been running for, including all attempts and backoff between attempts.ActivityExecutionInfo.BuildermergeExpirationTime(com.google.protobuf.Timestamp value)Scheduled time + schedule to close timeout.ActivityExecutionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ActivityExecutionInfo.BuildermergeFrom(com.google.protobuf.Message other)ActivityExecutionInfo.BuildermergeFrom(ActivityExecutionInfo other)ActivityExecutionInfo.BuildermergeHeader(Header value).temporal.api.common.v1.Header header = 30;ActivityExecutionInfo.BuildermergeHeartbeatDetails(Payloads value)Details provided in the last recorded activity heartbeat.ActivityExecutionInfo.BuildermergeHeartbeatTimeout(com.google.protobuf.Duration value)Maximum permitted time between successful worker heartbeats.ActivityExecutionInfo.BuildermergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last activity attempt completed.ActivityExecutionInfo.BuildermergeLastDeploymentVersion(WorkerDeploymentVersion value)The Worker Deployment Version this activity was dispatched to most recently.ActivityExecutionInfo.BuildermergeLastFailure(Failure value)Failure details from the last failed attempt.ActivityExecutionInfo.BuildermergeLastHeartbeatTime(com.google.protobuf.Timestamp value)Time the last heartbeat was recorded.ActivityExecutionInfo.BuildermergeLastStartedTime(com.google.protobuf.Timestamp value)Time the last attempt was started.ActivityExecutionInfo.BuildermergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value)The time when the next activity attempt will be scheduled.ActivityExecutionInfo.BuildermergePriority(Priority value)Priority metadata.ActivityExecutionInfo.BuildermergeRetryPolicy(RetryPolicy value)The retry policy for the activity.ActivityExecutionInfo.BuildermergeScheduleTime(com.google.protobuf.Timestamp value)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionInfo.BuildermergeScheduleToCloseTimeout(com.google.protobuf.Duration value)Indicates how long the caller is willing to wait for an activity completion.ActivityExecutionInfo.BuildermergeScheduleToStartTimeout(com.google.protobuf.Duration value)Limits time an activity task can stay in a task queue before a worker picks it up.ActivityExecutionInfo.BuildermergeSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 29;ActivityExecutionInfo.BuildermergeStartToCloseTimeout(com.google.protobuf.Duration value)Maximum time a single activity attempt is allowed to execute after being picked up by a worker.ActivityExecutionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ActivityExecutionInfo.BuildermergeUserMetadata(UserMetadata value)Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.ActivityExecutionInfo.BuildersetActivityId(java.lang.String value)Unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionInfo.BuildersetActivityIdBytes(com.google.protobuf.ByteString value)Unique identifier of this activity within its namespace along with run ID (below).ActivityExecutionInfo.BuildersetActivityType(ActivityType value)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionInfo.BuildersetActivityType(ActivityType.Builder builderForValue)The type of the activity, a string that maps to a registered activity on a worker.ActivityExecutionInfo.BuildersetAttempt(int value)The attempt this activity is currently on.ActivityExecutionInfo.BuildersetCanceledReason(java.lang.String value)Set if activity cancelation was requested.ActivityExecutionInfo.BuildersetCanceledReasonBytes(com.google.protobuf.ByteString value)Set if activity cancelation was requested.ActivityExecutionInfo.BuildersetCloseTime(com.google.protobuf.Timestamp value)Time when the activity transitioned to a closed state.ActivityExecutionInfo.BuildersetCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)Time when the activity transitioned to a closed state.ActivityExecutionInfo.BuildersetCurrentRetryInterval(com.google.protobuf.Duration value)Time from the last attempt failure to the next activity retry.ActivityExecutionInfo.BuildersetCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue)Time from the last attempt failure to the next activity retry.ActivityExecutionInfo.BuildersetExecutionDuration(com.google.protobuf.Duration value)How long this activity has been running for, including all attempts and backoff between attempts.ActivityExecutionInfo.BuildersetExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)How long this activity has been running for, including all attempts and backoff between attempts.ActivityExecutionInfo.BuildersetExpirationTime(com.google.protobuf.Timestamp value)Scheduled time + schedule to close timeout.ActivityExecutionInfo.BuildersetExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)Scheduled time + schedule to close timeout.ActivityExecutionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ActivityExecutionInfo.BuildersetHeader(Header value).temporal.api.common.v1.Header header = 30;ActivityExecutionInfo.BuildersetHeader(Header.Builder builderForValue).temporal.api.common.v1.Header header = 30;ActivityExecutionInfo.BuildersetHeartbeatDetails(Payloads value)Details provided in the last recorded activity heartbeat.ActivityExecutionInfo.BuildersetHeartbeatDetails(Payloads.Builder builderForValue)Details provided in the last recorded activity heartbeat.ActivityExecutionInfo.BuildersetHeartbeatTimeout(com.google.protobuf.Duration value)Maximum permitted time between successful worker heartbeats.ActivityExecutionInfo.BuildersetHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)Maximum permitted time between successful worker heartbeats.ActivityExecutionInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp value)The time when the last activity attempt completed.ActivityExecutionInfo.BuildersetLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the last activity attempt completed.ActivityExecutionInfo.BuildersetLastDeploymentVersion(WorkerDeploymentVersion value)The Worker Deployment Version this activity was dispatched to most recently.ActivityExecutionInfo.BuildersetLastDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)The Worker Deployment Version this activity was dispatched to most recently.ActivityExecutionInfo.BuildersetLastFailure(Failure value)Failure details from the last failed attempt.ActivityExecutionInfo.BuildersetLastFailure(Failure.Builder builderForValue)Failure details from the last failed attempt.ActivityExecutionInfo.BuildersetLastHeartbeatTime(com.google.protobuf.Timestamp value)Time the last heartbeat was recorded.ActivityExecutionInfo.BuildersetLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)Time the last heartbeat was recorded.ActivityExecutionInfo.BuildersetLastStartedTime(com.google.protobuf.Timestamp value)Time the last attempt was started.ActivityExecutionInfo.BuildersetLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)Time the last attempt was started.ActivityExecutionInfo.BuildersetLastWorkerIdentity(java.lang.String value)string last_worker_identity = 21;ActivityExecutionInfo.BuildersetLastWorkerIdentityBytes(com.google.protobuf.ByteString value)string last_worker_identity = 21;ActivityExecutionInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp value)The time when the next activity attempt will be scheduled.ActivityExecutionInfo.BuildersetNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the next activity attempt will be scheduled.ActivityExecutionInfo.BuildersetPriority(Priority value)Priority metadata.ActivityExecutionInfo.BuildersetPriority(Priority.Builder builderForValue)Priority metadata.ActivityExecutionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ActivityExecutionInfo.BuildersetRetryPolicy(RetryPolicy value)The retry policy for the activity.ActivityExecutionInfo.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue)The retry policy for the activity.ActivityExecutionInfo.BuildersetRunId(java.lang.String value)string run_id = 2;ActivityExecutionInfo.BuildersetRunIdBytes(com.google.protobuf.ByteString value)string run_id = 2;ActivityExecutionInfo.BuildersetRunState(PendingActivityState value)More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.ActivityExecutionInfo.BuildersetRunStateValue(int value)More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.ActivityExecutionInfo.BuildersetScheduleTime(com.google.protobuf.Timestamp value)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionInfo.BuildersetScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)Time the activity was originally scheduled via a StartActivityExecution request.ActivityExecutionInfo.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration value)Indicates how long the caller is willing to wait for an activity completion.ActivityExecutionInfo.BuildersetScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)Indicates how long the caller is willing to wait for an activity completion.ActivityExecutionInfo.BuildersetScheduleToStartTimeout(com.google.protobuf.Duration value)Limits time an activity task can stay in a task queue before a worker picks it up.ActivityExecutionInfo.BuildersetScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue)Limits time an activity task can stay in a task queue before a worker picks it up.ActivityExecutionInfo.BuildersetSearchAttributes(SearchAttributes value).temporal.api.common.v1.SearchAttributes search_attributes = 29;ActivityExecutionInfo.BuildersetSearchAttributes(SearchAttributes.Builder builderForValue).temporal.api.common.v1.SearchAttributes search_attributes = 29;ActivityExecutionInfo.BuildersetStartToCloseTimeout(com.google.protobuf.Duration value)Maximum time a single activity attempt is allowed to execute after being picked up by a worker.ActivityExecutionInfo.BuildersetStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)Maximum time a single activity attempt is allowed to execute after being picked up by a worker.ActivityExecutionInfo.BuildersetStateSizeBytes(long value)Updated once on scheduled and once on terminal status.ActivityExecutionInfo.BuildersetStateTransitionCount(long value)Incremented each time the activity's state is mutated in persistence.ActivityExecutionInfo.BuildersetStatus(ActivityExecutionStatus value)A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.ActivityExecutionInfo.BuildersetStatusValue(int value)A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.ActivityExecutionInfo.BuildersetTaskQueue(java.lang.String value)string task_queue = 6;ActivityExecutionInfo.BuildersetTaskQueueBytes(com.google.protobuf.ByteString value)string task_queue = 6;ActivityExecutionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ActivityExecutionInfo.BuildersetUserMetadata(UserMetadata value)Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.ActivityExecutionInfo.BuildersetUserMetadata(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public ActivityExecutionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ActivityExecutionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ActivityExecutionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ActivityExecutionInfo.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ActivityExecutionInfo.Builder>
-
mergeFrom
public ActivityExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ActivityExecutionInfo.Builder>
-
mergeFrom
public ActivityExecutionInfo.Builder mergeFrom(ActivityExecutionInfo other)
-
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 java.io.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:
java.io.IOException
-
getActivityId
public java.lang.String getActivityId()
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Specified by:
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
public ActivityExecutionInfo.Builder setActivityId(java.lang.String value)
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
public ActivityExecutionInfo.Builder clearActivityId()
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public ActivityExecutionInfo.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
Unique identifier of this activity within its namespace along with run ID (below).
string activity_id = 1;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
public java.lang.String 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
public ActivityExecutionInfo.Builder setRunId(java.lang.String value)
string run_id = 2;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
public ActivityExecutionInfo.Builder clearRunId()
string run_id = 2;- Returns:
- This builder for chaining.
-
setRunIdBytes
public ActivityExecutionInfo.Builder setRunIdBytes(com.google.protobuf.ByteString value)
string run_id = 2;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasActivityType
public boolean hasActivityType()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
hasActivityTypein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the activityType field is set.
-
getActivityType
public ActivityType getActivityType()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
getActivityTypein interfaceActivityExecutionInfoOrBuilder- Returns:
- The activityType.
-
setActivityType
public ActivityExecutionInfo.Builder setActivityType(ActivityType value)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
setActivityType
public ActivityExecutionInfo.Builder setActivityType(ActivityType.Builder builderForValue)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
mergeActivityType
public ActivityExecutionInfo.Builder mergeActivityType(ActivityType value)
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
clearActivityType
public ActivityExecutionInfo.Builder clearActivityType()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
getActivityTypeBuilder
public ActivityType.Builder getActivityTypeBuilder()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;
-
getActivityTypeOrBuilder
public ActivityTypeOrBuilder getActivityTypeOrBuilder()
The type of the activity, a string that maps to a registered activity on a worker.
.temporal.api.common.v1.ActivityType activity_type = 3;- Specified by:
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
public ActivityExecutionInfo.Builder setStatusValue(int value)
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public ActivityExecutionStatus getStatus()
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Specified by:
getStatusin interfaceActivityExecutionInfoOrBuilder- Returns:
- The status.
-
setStatus
public ActivityExecutionInfo.Builder setStatus(ActivityExecutionStatus value)
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ActivityExecutionInfo.Builder clearStatus()
A general status for this activity, indicates whether it is currently running or in one of the terminal statuses.
.temporal.api.enums.v1.ActivityExecutionStatus status = 4;- Returns:
- This builder for chaining.
-
getRunStateValue
public int getRunStateValue()
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Specified by:
getRunStateValuein interfaceActivityExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for runState.
-
setRunStateValue
public ActivityExecutionInfo.Builder setRunStateValue(int value)
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Parameters:
value- The enum numeric value on the wire for runState to set.- Returns:
- This builder for chaining.
-
getRunState
public PendingActivityState getRunState()
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Specified by:
getRunStatein interfaceActivityExecutionInfoOrBuilder- Returns:
- The runState.
-
setRunState
public ActivityExecutionInfo.Builder setRunState(PendingActivityState value)
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Parameters:
value- The runState to set.- Returns:
- This builder for chaining.
-
clearRunState
public ActivityExecutionInfo.Builder clearRunState()
More detailed breakdown of ACTIVITY_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingActivityState run_state = 5;- Returns:
- This builder for chaining.
-
getTaskQueue
public java.lang.String 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
public ActivityExecutionInfo.Builder setTaskQueue(java.lang.String value)
string task_queue = 6;- Parameters:
value- The taskQueue to set.- Returns:
- This builder for chaining.
-
clearTaskQueue
public ActivityExecutionInfo.Builder clearTaskQueue()
string task_queue = 6;- Returns:
- This builder for chaining.
-
setTaskQueueBytes
public ActivityExecutionInfo.Builder setTaskQueueBytes(com.google.protobuf.ByteString value)
string task_queue = 6;- Parameters:
value- The bytes for taskQueue to set.- Returns:
- This builder for chaining.
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
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
public ActivityExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value)
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
setScheduleToCloseTimeout
public ActivityExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
mergeScheduleToCloseTimeout
public ActivityExecutionInfo.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value)
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
clearScheduleToCloseTimeout
public ActivityExecutionInfo.Builder clearScheduleToCloseTimeout()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;
-
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 7;- Specified by:
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
public ActivityExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value)
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
setScheduleToStartTimeout
public ActivityExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue)
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
mergeScheduleToStartTimeout
public ActivityExecutionInfo.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value)
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
clearScheduleToStartTimeout
public ActivityExecutionInfo.Builder clearScheduleToStartTimeout()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;
-
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable, as all a retry would achieve is to put it back into the same queue. Defaults to `schedule_to_close_timeout`. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 8;- Specified by:
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
public ActivityExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration value)
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
setStartToCloseTimeout
public ActivityExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
mergeStartToCloseTimeout
public ActivityExecutionInfo.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value)
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
clearStartToCloseTimeout
public ActivityExecutionInfo.Builder clearStartToCloseTimeout()
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;
-
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
Maximum time a single activity attempt is allowed to execute after being picked up by a worker. This timeout is always retryable. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 9;- Specified by:
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
public ActivityExecutionInfo.Builder setHeartbeatTimeout(com.google.protobuf.Duration value)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
setHeartbeatTimeout
public ActivityExecutionInfo.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
mergeHeartbeatTimeout
public ActivityExecutionInfo.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value)
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
clearHeartbeatTimeout
public ActivityExecutionInfo.Builder clearHeartbeatTimeout()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
getHeartbeatTimeoutBuilder
public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;
-
getHeartbeatTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
Maximum permitted time between successful worker heartbeats.
.google.protobuf.Duration heartbeat_timeout = 10;- Specified by:
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
public RetryPolicy getRetryPolicy()
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceActivityExecutionInfoOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
public ActivityExecutionInfo.Builder setRetryPolicy(RetryPolicy value)
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;
-
setRetryPolicy
public ActivityExecutionInfo.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;
-
mergeRetryPolicy
public ActivityExecutionInfo.Builder mergeRetryPolicy(RetryPolicy value)
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;
-
clearRetryPolicy
public ActivityExecutionInfo.Builder clearRetryPolicy()
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
.temporal.api.common.v1.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasHeartbeatDetails
public boolean hasHeartbeatDetails()
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;- Specified by:
hasHeartbeatDetailsin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the heartbeatDetails field is set.
-
getHeartbeatDetails
public Payloads getHeartbeatDetails()
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;- Specified by:
getHeartbeatDetailsin interfaceActivityExecutionInfoOrBuilder- Returns:
- The heartbeatDetails.
-
setHeartbeatDetails
public ActivityExecutionInfo.Builder setHeartbeatDetails(Payloads value)
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;
-
setHeartbeatDetails
public ActivityExecutionInfo.Builder setHeartbeatDetails(Payloads.Builder builderForValue)
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;
-
mergeHeartbeatDetails
public ActivityExecutionInfo.Builder mergeHeartbeatDetails(Payloads value)
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;
-
clearHeartbeatDetails
public ActivityExecutionInfo.Builder clearHeartbeatDetails()
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;
-
getHeartbeatDetailsBuilder
public Payloads.Builder getHeartbeatDetailsBuilder()
Details provided in the last recorded activity heartbeat.
.temporal.api.common.v1.Payloads heartbeat_details = 12;
-
getHeartbeatDetailsOrBuilder
public PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
Details provided in the last recorded activity heartbeat.
.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
public ActivityExecutionInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp value)
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;
-
setLastHeartbeatTime
public ActivityExecutionInfo.Builder setLastHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;
-
mergeLastHeartbeatTime
public ActivityExecutionInfo.Builder mergeLastHeartbeatTime(com.google.protobuf.Timestamp value)
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;
-
clearLastHeartbeatTime
public ActivityExecutionInfo.Builder clearLastHeartbeatTime()
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;
-
getLastHeartbeatTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastHeartbeatTimeBuilder()
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;
-
getLastHeartbeatTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastHeartbeatTimeOrBuilder()
Time the last heartbeat was recorded.
.google.protobuf.Timestamp last_heartbeat_time = 13;- Specified by:
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
public ActivityExecutionInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp value)
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;
-
setLastStartedTime
public ActivityExecutionInfo.Builder setLastStartedTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;
-
mergeLastStartedTime
public ActivityExecutionInfo.Builder mergeLastStartedTime(com.google.protobuf.Timestamp value)
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;
-
clearLastStartedTime
public ActivityExecutionInfo.Builder clearLastStartedTime()
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;
-
getLastStartedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastStartedTimeBuilder()
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;
-
getLastStartedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStartedTimeOrBuilder()
Time the last attempt was started.
.google.protobuf.Timestamp last_started_time = 14;- Specified by:
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
public ActivityExecutionInfo.Builder setAttempt(int value)
The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
int32 attempt = 15;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
public ActivityExecutionInfo.Builder clearAttempt()
The attempt this activity is currently on. Incremented each time a new attempt is scheduled.
int32 attempt = 15;- Returns:
- This builder for chaining.
-
hasExecutionDuration
public boolean hasExecutionDuration()
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;- Specified by:
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
public ActivityExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration value)
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;
-
setExecutionDuration
public ActivityExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue)
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;
-
mergeExecutionDuration
public ActivityExecutionInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value)
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;
-
clearExecutionDuration
public ActivityExecutionInfo.Builder clearExecutionDuration()
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;
-
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
How long this activity has been running for, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 16;- Specified by:
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
public ActivityExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp value)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;
-
setScheduleTime
public ActivityExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;
-
mergeScheduleTime
public ActivityExecutionInfo.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;
-
clearScheduleTime
public ActivityExecutionInfo.Builder clearScheduleTime()
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;
-
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;
-
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()
Time the activity was originally scheduled via a StartActivityExecution request.
.google.protobuf.Timestamp schedule_time = 17;- Specified by:
getScheduleTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()
Scheduled time + 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()
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
getExpirationTimein interfaceActivityExecutionInfoOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
public ActivityExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;
-
setExpirationTime
public ActivityExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;
-
mergeExpirationTime
public ActivityExecutionInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;
-
clearExpirationTime
public ActivityExecutionInfo.Builder clearExpirationTime()
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;
-
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 18;- Specified by:
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
public ActivityExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;
-
setCloseTime
public ActivityExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;
-
mergeCloseTime
public ActivityExecutionInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;
-
clearCloseTime
public ActivityExecutionInfo.Builder clearCloseTime()
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;
-
getCloseTimeBuilder
public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;
-
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
Time when the activity transitioned to a closed state.
.google.protobuf.Timestamp close_time = 19;- Specified by:
getCloseTimeOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
hasLastFailure
public boolean hasLastFailure()
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
hasLastFailurein interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the lastFailure field is set.
-
getLastFailure
public Failure getLastFailure()
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
getLastFailurein interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastFailure.
-
setLastFailure
public ActivityExecutionInfo.Builder setLastFailure(Failure value)
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;
-
setLastFailure
public ActivityExecutionInfo.Builder setLastFailure(Failure.Builder builderForValue)
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;
-
mergeLastFailure
public ActivityExecutionInfo.Builder mergeLastFailure(Failure value)
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;
-
clearLastFailure
public ActivityExecutionInfo.Builder clearLastFailure()
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;
-
getLastFailureBuilder
public Failure.Builder getLastFailureBuilder()
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;
-
getLastFailureOrBuilder
public FailureOrBuilder getLastFailureOrBuilder()
Failure details from the last failed attempt.
.temporal.api.failure.v1.Failure last_failure = 20;- Specified by:
getLastFailureOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getLastWorkerIdentity
public java.lang.String 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
public ActivityExecutionInfo.Builder setLastWorkerIdentity(java.lang.String value)
string last_worker_identity = 21;- Parameters:
value- The lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
clearLastWorkerIdentity
public ActivityExecutionInfo.Builder clearLastWorkerIdentity()
string last_worker_identity = 21;- Returns:
- This builder for chaining.
-
setLastWorkerIdentityBytes
public ActivityExecutionInfo.Builder setLastWorkerIdentityBytes(com.google.protobuf.ByteString value)
string last_worker_identity = 21;- Parameters:
value- The bytes for lastWorkerIdentity to set.- Returns:
- This builder for chaining.
-
hasCurrentRetryInterval
public boolean hasCurrentRetryInterval()
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;- Specified by:
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
public ActivityExecutionInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration value)
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;
-
setCurrentRetryInterval
public ActivityExecutionInfo.Builder setCurrentRetryInterval(com.google.protobuf.Duration.Builder builderForValue)
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;
-
mergeCurrentRetryInterval
public ActivityExecutionInfo.Builder mergeCurrentRetryInterval(com.google.protobuf.Duration value)
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;
-
clearCurrentRetryInterval
public ActivityExecutionInfo.Builder clearCurrentRetryInterval()
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;
-
getCurrentRetryIntervalBuilder
public com.google.protobuf.Duration.Builder getCurrentRetryIntervalBuilder()
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;
-
getCurrentRetryIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getCurrentRetryIntervalOrBuilder()
Time from the last attempt failure to the next activity retry. If the activity is currently running, this represents the next retry interval in case the attempt fails. If activity is currently backing off between attempt, this represents the current retry interval. If there is no next retry allowed, this field will be null. This interval is typically calculated from the specified retry policy, but may be modified if an activity fails with a retryable application failure specifying a retry delay.
.google.protobuf.Duration current_retry_interval = 22;- Specified by:
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
public ActivityExecutionInfo.Builder clearLastAttemptCompleteTime()
The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23;
-
getLastAttemptCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()
The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23;
-
getLastAttemptCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
The time when the last activity attempt completed. If activity has not been completed yet, it will be null.
.google.protobuf.Timestamp last_attempt_complete_time = 23;- Specified by:
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
public ActivityExecutionInfo.Builder clearNextAttemptScheduleTime()
The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24;
-
getNextAttemptScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()
The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24;
-
getNextAttemptScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
The time when the next activity attempt will be scheduled. If activity is currently scheduled or started, this field will be null.
.google.protobuf.Timestamp next_attempt_schedule_time = 24;- Specified by:
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
public WorkerDeploymentVersion getLastDeploymentVersion()
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;- Specified by:
getLastDeploymentVersionin interfaceActivityExecutionInfoOrBuilder- Returns:
- The lastDeploymentVersion.
-
setLastDeploymentVersion
public ActivityExecutionInfo.Builder setLastDeploymentVersion(WorkerDeploymentVersion value)
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
-
setLastDeploymentVersion
public ActivityExecutionInfo.Builder setLastDeploymentVersion(WorkerDeploymentVersion.Builder builderForValue)
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
-
mergeLastDeploymentVersion
public ActivityExecutionInfo.Builder mergeLastDeploymentVersion(WorkerDeploymentVersion value)
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
-
clearLastDeploymentVersion
public ActivityExecutionInfo.Builder clearLastDeploymentVersion()
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
-
getLastDeploymentVersionBuilder
public WorkerDeploymentVersion.Builder getLastDeploymentVersionBuilder()
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;
-
getLastDeploymentVersionOrBuilder
public WorkerDeploymentVersionOrBuilder getLastDeploymentVersionOrBuilder()
The Worker Deployment Version this activity was dispatched to most recently. If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
.temporal.api.deployment.v1.WorkerDeploymentVersion last_deployment_version = 25;- Specified by:
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
public Priority getPriority()
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;- Specified by:
getPriorityin interfaceActivityExecutionInfoOrBuilder- Returns:
- The priority.
-
setPriority
public ActivityExecutionInfo.Builder setPriority(Priority value)
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;
-
setPriority
public ActivityExecutionInfo.Builder setPriority(Priority.Builder builderForValue)
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;
-
mergePriority
public ActivityExecutionInfo.Builder mergePriority(Priority value)
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;
-
clearPriority
public ActivityExecutionInfo.Builder clearPriority()
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;
-
getPriorityBuilder
public Priority.Builder getPriorityBuilder()
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;
-
getPriorityOrBuilder
public PriorityOrBuilder getPriorityOrBuilder()
Priority metadata.
.temporal.api.common.v1.Priority priority = 26;- Specified by:
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
public ActivityExecutionInfo.Builder setStateTransitionCount(long value)
Incremented each time the activity's state is mutated in persistence.
int64 state_transition_count = 27;- Parameters:
value- The stateTransitionCount to set.- Returns:
- This builder for chaining.
-
clearStateTransitionCount
public ActivityExecutionInfo.Builder clearStateTransitionCount()
Incremented each time the activity's state is mutated in persistence.
int64 state_transition_count = 27;- Returns:
- This builder for chaining.
-
getStateSizeBytes
public long getStateSizeBytes()
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Specified by:
getStateSizeBytesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The stateSizeBytes.
-
setStateSizeBytes
public ActivityExecutionInfo.Builder setStateSizeBytes(long value)
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Parameters:
value- The stateSizeBytes to set.- Returns:
- This builder for chaining.
-
clearStateSizeBytes
public ActivityExecutionInfo.Builder clearStateSizeBytes()
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 28;- Returns:
- This builder for chaining.
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
hasSearchAttributesin interfaceActivityExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
getSearchAttributesin interfaceActivityExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
public ActivityExecutionInfo.Builder setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 29;
-
setSearchAttributes
public ActivityExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 29;
-
mergeSearchAttributes
public ActivityExecutionInfo.Builder mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 29;
-
clearSearchAttributes
public ActivityExecutionInfo.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 29;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 29;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 29;- Specified by:
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
public Header getHeader()
.temporal.api.common.v1.Header header = 30;- Specified by:
getHeaderin interfaceActivityExecutionInfoOrBuilder- Returns:
- The header.
-
setHeader
public ActivityExecutionInfo.Builder setHeader(Header value)
.temporal.api.common.v1.Header header = 30;
-
setHeader
public ActivityExecutionInfo.Builder setHeader(Header.Builder builderForValue)
.temporal.api.common.v1.Header header = 30;
-
mergeHeader
public ActivityExecutionInfo.Builder mergeHeader(Header value)
.temporal.api.common.v1.Header header = 30;
-
clearHeader
public ActivityExecutionInfo.Builder clearHeader()
.temporal.api.common.v1.Header header = 30;
-
getHeaderBuilder
public Header.Builder getHeaderBuilder()
.temporal.api.common.v1.Header header = 30;
-
getHeaderOrBuilder
public HeaderOrBuilder getHeaderOrBuilder()
.temporal.api.common.v1.Header header = 30;- Specified by:
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
public UserMetadata getUserMetadata()
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;- Specified by:
getUserMetadatain interfaceActivityExecutionInfoOrBuilder- Returns:
- The userMetadata.
-
setUserMetadata
public ActivityExecutionInfo.Builder setUserMetadata(UserMetadata value)
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;
-
setUserMetadata
public ActivityExecutionInfo.Builder setUserMetadata(UserMetadata.Builder builderForValue)
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;
-
mergeUserMetadata
public ActivityExecutionInfo.Builder mergeUserMetadata(UserMetadata value)
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;
-
clearUserMetadata
public ActivityExecutionInfo.Builder clearUserMetadata()
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;
-
getUserMetadataBuilder
public UserMetadata.Builder getUserMetadataBuilder()
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;
-
getUserMetadataOrBuilder
public UserMetadataOrBuilder getUserMetadataOrBuilder()
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
.temporal.api.sdk.v1.UserMetadata user_metadata = 31;- Specified by:
getUserMetadataOrBuilderin interfaceActivityExecutionInfoOrBuilder
-
getCanceledReason
public java.lang.String 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
public ActivityExecutionInfo.Builder setCanceledReason(java.lang.String value)
Set if activity cancelation was requested.
string canceled_reason = 32;- Parameters:
value- The canceledReason to set.- Returns:
- This builder for chaining.
-
clearCanceledReason
public ActivityExecutionInfo.Builder clearCanceledReason()
Set if activity cancelation was requested.
string canceled_reason = 32;- Returns:
- This builder for chaining.
-
setCanceledReasonBytes
public ActivityExecutionInfo.Builder setCanceledReasonBytes(com.google.protobuf.ByteString value)
Set if activity cancelation was requested.
string canceled_reason = 32;- Parameters:
value- The bytes for canceledReason to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ActivityExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
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>
-
-