Class NexusOperationExecutionInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.nexus.v1.NexusOperationExecutionInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NexusOperationExecutionInfoOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:NexusOperationExecutionInfo.java.pb.meta")
public final class NexusOperationExecutionInfo
extends com.google.protobuf.GeneratedMessageV3
implements NexusOperationExecutionInfoOrBuilder
Full current state of a standalone Nexus operation, as of the time of the request.Protobuf type
temporal.api.nexus.v1.NexusOperationExecutionInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFull current state of a standalone Nexus operation, as of the time of the request.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanHeader for context propagation and tracing purposes.booleanintThe number of attempts made to deliver the start operation request.If the state is BLOCKED, blocked reason provides additional information.com.google.protobuf.ByteStringIf the state is BLOCKED, blocked reason provides additional information..temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;com.google.protobuf.TimestampTime when the operation transitioned to a closed state.com.google.protobuf.TimestampOrBuilderTime when the operation transitioned to a closed state.static NexusOperationExecutionInfostatic final com.google.protobuf.Descriptors.DescriptorEndpoint name, resolved to a URL via the cluster's endpoint registry.com.google.protobuf.ByteStringEndpoint name, resolved to a URL via the cluster's endpoint registry.com.google.protobuf.DurationElapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.com.google.protobuf.DurationOrBuilderElapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.com.google.protobuf.TimestampScheduled time + schedule to close timeout.com.google.protobuf.TimestampOrBuilderScheduled time + schedule to close timeout.The identity of the client who started this operation.com.google.protobuf.ByteStringThe identity of the client who started this operation.com.google.protobuf.TimestampThe time when the last attempt completed.com.google.protobuf.TimestampOrBuilderThe time when the last attempt completed.The last attempt's failure, if any.The last attempt's failure, if any.getLinks(int index) Links attached by the handler of this operation on start or completion.intLinks attached by the handler of this operation on start or completion.Links attached by the handler of this operation on start or completion.getLinksOrBuilder(int index) Links attached by the handler of this operation on start or completion.List<? extends LinkOrBuilder> Links attached by the handler of this operation on start or completion.com.google.protobuf.TimestampThe time when the next attempt is scheduled.com.google.protobuf.TimestampOrBuilderThe time when the next attempt is scheduled.Deprecated.intHeader for context propagation and tracing purposes.Header for context propagation and tracing purposes.getNexusHeaderOrDefault(String key, String defaultValue) Header for context propagation and tracing purposes.Header for context propagation and tracing purposes.Operation name.com.google.protobuf.ByteStringOperation name.Unique identifier of this Nexus operation within its namespace along with run ID (below).com.google.protobuf.ByteStringUnique identifier of this Nexus operation within its namespace along with run ID (below).Operation token.com.google.protobuf.ByteStringOperation token.com.google.protobuf.Parser<NexusOperationExecutionInfo> Server-generated request ID used as an idempotency token when submitting start requests to the handler.com.google.protobuf.ByteStringServer-generated request ID used as an idempotency token when submitting start requests to the handler.getRunId()string run_id = 2;com.google.protobuf.ByteStringstring run_id = 2;com.google.protobuf.TimestampTime the operation was originally scheduled via a StartNexusOperation request.com.google.protobuf.TimestampOrBuilderTime the operation was originally scheduled via a StartNexusOperation request.com.google.protobuf.DurationSchedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuilderSchedule-to-close timeout for this operation.com.google.protobuf.DurationSchedule-to-start timeout for this operation.com.google.protobuf.DurationOrBuilderSchedule-to-start timeout for this operation..temporal.api.common.v1.SearchAttributes search_attributes = 24;.temporal.api.common.v1.SearchAttributes search_attributes = 24;intService name.com.google.protobuf.ByteStringService name.com.google.protobuf.DurationStart-to-close timeout for this operation.com.google.protobuf.DurationOrBuilderStart-to-close timeout for this operation.getState()More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.longUpdated once on scheduled and once on terminal status.longIncremented each time the operation's state is mutated in persistence.intMore detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.intA general status for this operation, indicates whether it is currently running or in one of the terminal statuses.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.boolean.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;booleanTime when the operation transitioned to a closed state.booleanElapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.booleanScheduled time + schedule to close timeout.inthashCode()booleanThe time when the last attempt completed.booleanThe last attempt's failure, if any.booleanThe time when the next attempt is scheduled.booleanTime the operation was originally scheduled via a StartNexusOperation request.booleanSchedule-to-close timeout for this operation.booleanSchedule-to-start timeout for this operation.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 24;booleanStart-to-close timeout for this operation.booleanMetadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(NexusOperationExecutionInfo prototype) protected NexusOperationExecutionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static NexusOperationExecutionInfoparseDelimitedFrom(InputStream input) static NexusOperationExecutionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NexusOperationExecutionInfoparseFrom(byte[] data) static NexusOperationExecutionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NexusOperationExecutionInfoparseFrom(com.google.protobuf.ByteString data) static NexusOperationExecutionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NexusOperationExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input) static NexusOperationExecutionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NexusOperationExecutionInfoparseFrom(InputStream input) static NexusOperationExecutionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NexusOperationExecutionInfoparseFrom(ByteBuffer data) static NexusOperationExecutionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NexusOperationExecutionInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER- See Also:
-
RUN_ID_FIELD_NUMBER
public static final int RUN_ID_FIELD_NUMBER- See Also:
-
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER- See Also:
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER
public static final int SCHEDULE_TO_START_TIMEOUT_FIELD_NUMBER- See Also:
-
START_TO_CLOSE_TIMEOUT_FIELD_NUMBER
public static final int START_TO_CLOSE_TIMEOUT_FIELD_NUMBER- See Also:
-
ATTEMPT_FIELD_NUMBER
public static final int ATTEMPT_FIELD_NUMBER- See Also:
-
SCHEDULE_TIME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER- See Also:
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER- See Also:
-
CLOSE_TIME_FIELD_NUMBER
public static final int CLOSE_TIME_FIELD_NUMBER- See Also:
-
LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER
public static final int LAST_ATTEMPT_COMPLETE_TIME_FIELD_NUMBER- See Also:
-
LAST_ATTEMPT_FAILURE_FIELD_NUMBER
public static final int LAST_ATTEMPT_FAILURE_FIELD_NUMBER- See Also:
-
NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER
public static final int NEXT_ATTEMPT_SCHEDULE_TIME_FIELD_NUMBER- See Also:
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER- See Also:
-
CANCELLATION_INFO_FIELD_NUMBER
public static final int CANCELLATION_INFO_FIELD_NUMBER- See Also:
-
BLOCKED_REASON_FIELD_NUMBER
public static final int BLOCKED_REASON_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
OPERATION_TOKEN_FIELD_NUMBER
public static final int OPERATION_TOKEN_FIELD_NUMBER- See Also:
-
STATE_TRANSITION_COUNT_FIELD_NUMBER
public static final int STATE_TRANSITION_COUNT_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
NEXUS_HEADER_FIELD_NUMBER
public static final int NEXUS_HEADER_FIELD_NUMBER- See Also:
-
USER_METADATA_FIELD_NUMBER
public static final int USER_METADATA_FIELD_NUMBER- See Also:
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
STATE_SIZE_BYTES_FIELD_NUMBER
public static final int STATE_SIZE_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getOperationId
Unique identifier of this Nexus operation within its namespace along with run ID (below).
string operation_id = 1;- Specified by:
getOperationIdin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The operationId.
-
getOperationIdBytes
public com.google.protobuf.ByteString getOperationIdBytes()Unique identifier of this Nexus operation within its namespace along with run ID (below).
string operation_id = 1;- Specified by:
getOperationIdBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for operationId.
-
getRunId
string run_id = 2;- Specified by:
getRunIdin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()string run_id = 2;- Specified by:
getRunIdBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for runId.
-
getEndpoint
Endpoint name, resolved to a URL via the cluster's endpoint registry.
string endpoint = 3;- Specified by:
getEndpointin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()Endpoint name, resolved to a URL via the cluster's endpoint registry.
string endpoint = 3;- Specified by:
getEndpointBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for endpoint.
-
getService
Service name.
string service = 4;- Specified by:
getServicein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Service name.
string service = 4;- Specified by:
getServiceBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for service.
-
getOperation
Operation name.
string operation = 5;- Specified by:
getOperationin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The operation.
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Operation name.
string operation = 5;- Specified by:
getOperationBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for operation.
-
getStatusValue
public int getStatusValue()A general status for this operation, indicates whether it is currently running or in one of the terminal statuses. Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
.temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;- Specified by:
getStatusValuein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
A general status for this operation, indicates whether it is currently running or in one of the terminal statuses. Updated once when the operation is originally scheduled, and again when it reaches a terminal status.
.temporal.api.enums.v1.NexusOperationExecutionStatus status = 6;- Specified by:
getStatusin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The status.
-
getStateValue
public int getStateValue()More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Specified by:
getStateValuein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Specified by:
getStatein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The state.
-
hasScheduleToCloseTimeout
public boolean hasScheduleToCloseTimeout()Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 8;- Specified by:
hasScheduleToCloseTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
public com.google.protobuf.Duration getScheduleToCloseTimeout()Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 8;- Specified by:
getScheduleToCloseTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 8;- Specified by:
getScheduleToCloseTimeoutOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasScheduleToStartTimeout
public boolean hasScheduleToStartTimeout()Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 9;- Specified by:
hasScheduleToStartTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
public com.google.protobuf.Duration getScheduleToStartTimeout()Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 9;- Specified by:
getScheduleToStartTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The scheduleToStartTimeout.
-
getScheduleToStartTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_start_timeout = 9;- Specified by:
getScheduleToStartTimeoutOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasStartToCloseTimeout
public boolean hasStartToCloseTimeout()Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 10;- Specified by:
hasStartToCloseTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
public com.google.protobuf.Duration getStartToCloseTimeout()Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 10;- Specified by:
getStartToCloseTimeoutin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration start_to_close_timeout = 10;- Specified by:
getStartToCloseTimeoutOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
getAttempt
public int getAttempt()The number of attempts made to deliver the start operation request. This number is approximate, it is incremented when a task is added to the history queue. In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task was never executed.
int32 attempt = 11;- Specified by:
getAttemptin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The attempt.
-
hasScheduleTime
public boolean hasScheduleTime()Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12;- Specified by:
hasScheduleTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
public com.google.protobuf.Timestamp getScheduleTime()Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12;- Specified by:
getScheduleTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The scheduleTime.
-
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12;- Specified by:
getScheduleTimeOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13;- Specified by:
hasExpirationTimein interfaceNexusOperationExecutionInfoOrBuilder- 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 = 13;- Specified by:
getExpirationTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13;- Specified by:
getExpirationTimeOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime()Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14;- Specified by:
hasCloseTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the closeTime field is set.
-
getCloseTime
public com.google.protobuf.Timestamp getCloseTime()Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14;- Specified by:
getCloseTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The closeTime.
-
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14;- Specified by:
getCloseTimeOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasLastAttemptCompleteTime
public boolean hasLastAttemptCompleteTime()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15;- Specified by:
hasLastAttemptCompleteTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the lastAttemptCompleteTime field is set.
-
getLastAttemptCompleteTime
public com.google.protobuf.Timestamp getLastAttemptCompleteTime()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15;- Specified by:
getLastAttemptCompleteTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15;- Specified by:
getLastAttemptCompleteTimeOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasLastAttemptFailure
public boolean hasLastAttemptFailure()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16;- Specified by:
hasLastAttemptFailurein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the lastAttemptFailure field is set.
-
getLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16;- Specified by:
getLastAttemptFailurein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The lastAttemptFailure.
-
getLastAttemptFailureOrBuilder
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16;- Specified by:
getLastAttemptFailureOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasNextAttemptScheduleTime
public boolean hasNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17;- Specified by:
hasNextAttemptScheduleTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the nextAttemptScheduleTime field is set.
-
getNextAttemptScheduleTime
public com.google.protobuf.Timestamp getNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17;- Specified by:
getNextAttemptScheduleTimein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17;- Specified by:
getNextAttemptScheduleTimeOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasExecutionDuration
public boolean hasExecutionDuration()Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 18;- Specified by:
hasExecutionDurationin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration()Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 18;- Specified by:
getExecutionDurationin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.
.google.protobuf.Duration execution_duration = 18;- Specified by:
getExecutionDurationOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
hasCancellationInfo
public boolean hasCancellationInfo().temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;- Specified by:
hasCancellationInfoin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the cancellationInfo field is set.
-
getCancellationInfo
.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;- Specified by:
getCancellationInfoin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The cancellationInfo.
-
getCancellationInfoOrBuilder
.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;- Specified by:
getCancellationInfoOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
getBlockedReason
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 20;- Specified by:
getBlockedReasonin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The blockedReason.
-
getBlockedReasonBytes
public com.google.protobuf.ByteString getBlockedReasonBytes()If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 20;- Specified by:
getBlockedReasonBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for blockedReason.
-
getRequestId
Server-generated request ID used as an idempotency token when submitting start requests to the handler. Distinct from the request_id in StartNexusOperationRequest, which is the caller-side idempotency key for the StartNexusOperation RPC itself.
string request_id = 21;- Specified by:
getRequestIdin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Server-generated request ID used as an idempotency token when submitting start requests to the handler. Distinct from the request_id in StartNexusOperationRequest, which is the caller-side idempotency key for the StartNexusOperation RPC itself.
string request_id = 21;- Specified by:
getRequestIdBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for requestId.
-
getOperationToken
Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 22;- Specified by:
getOperationTokenin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The operationToken.
-
getOperationTokenBytes
public com.google.protobuf.ByteString getOperationTokenBytes()Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 22;- Specified by:
getOperationTokenBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for operationToken.
-
getStateTransitionCount
public long getStateTransitionCount()Incremented each time the operation's state is mutated in persistence.
int64 state_transition_count = 23;- Specified by:
getStateTransitionCountin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The stateTransitionCount.
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 24;- Specified by:
hasSearchAttributesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 24;- Specified by:
getSearchAttributesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 24;- Specified by:
getSearchAttributesOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
getNexusHeaderCount
public int getNexusHeaderCount()Description copied from interface:NexusOperationExecutionInfoOrBuilderHeader for context propagation and tracing purposes.
map<string, string> nexus_header = 25;- Specified by:
getNexusHeaderCountin interfaceNexusOperationExecutionInfoOrBuilder
-
containsNexusHeader
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25;- Specified by:
containsNexusHeaderin interfaceNexusOperationExecutionInfoOrBuilder
-
getNexusHeader
Deprecated.UsegetNexusHeaderMap()instead.- Specified by:
getNexusHeaderin interfaceNexusOperationExecutionInfoOrBuilder
-
getNexusHeaderMap
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25;- Specified by:
getNexusHeaderMapin interfaceNexusOperationExecutionInfoOrBuilder
-
getNexusHeaderOrDefault
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25;- Specified by:
getNexusHeaderOrDefaultin interfaceNexusOperationExecutionInfoOrBuilder
-
getNexusHeaderOrThrow
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25;- Specified by:
getNexusHeaderOrThrowin interfaceNexusOperationExecutionInfoOrBuilder
-
hasUserMetadata
public boolean hasUserMetadata()Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
.temporal.api.sdk.v1.UserMetadata user_metadata = 26;- Specified by:
hasUserMetadatain interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- Whether the userMetadata field is set.
-
getUserMetadata
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
.temporal.api.sdk.v1.UserMetadata user_metadata = 26;- Specified by:
getUserMetadatain interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The userMetadata.
-
getUserMetadataOrBuilder
Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.
.temporal.api.sdk.v1.UserMetadata user_metadata = 26;- Specified by:
getUserMetadataOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
getLinksList
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27;- Specified by:
getLinksListin interfaceNexusOperationExecutionInfoOrBuilder
-
getLinksOrBuilderList
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27;- Specified by:
getLinksOrBuilderListin interfaceNexusOperationExecutionInfoOrBuilder
-
getLinksCount
public int getLinksCount()Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27;- Specified by:
getLinksCountin interfaceNexusOperationExecutionInfoOrBuilder
-
getLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27;- Specified by:
getLinksin interfaceNexusOperationExecutionInfoOrBuilder
-
getLinksOrBuilder
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27;- Specified by:
getLinksOrBuilderin interfaceNexusOperationExecutionInfoOrBuilder
-
getIdentity
The identity of the client who started this operation.
string identity = 28;- Specified by:
getIdentityin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who started this operation.
string identity = 28;- Specified by:
getIdentityBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The bytes for identity.
-
getStateSizeBytes
public long getStateSizeBytes()Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 29;- Specified by:
getStateSizeBytesin interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The stateSizeBytes.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NexusOperationExecutionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NexusOperationExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NexusOperationExecutionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-