Class NexusOperationExecutionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NexusOperationExecutionInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
io.temporal.api.nexus.v1.NexusOperationExecutionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NexusOperationExecutionInfoOrBuilder,Cloneable
- Enclosing class:
NexusOperationExecutionInfo
public static final class NexusOperationExecutionInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
implements NexusOperationExecutionInfoOrBuilder
Full current state of a standalone Nexus operation, as of the time of the request.Protobuf type
temporal.api.nexus.v1.NexusOperationExecutionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) Links attached by the handler of this operation on start or completion.Links attached by the handler of this operation on start or completion.addLinks(int index, Link.Builder builderForValue) Links attached by the handler of this operation on start or completion.Links attached by the handler of this operation on start or completion.addLinks(Link.Builder builderForValue) Links attached by the handler of this operation on start or completion.Links attached by the handler of this operation on start or completion.addLinksBuilder(int index) Links attached by the handler of this operation on start or completion.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The number of attempts made to deliver the start operation request.If the state is BLOCKED, blocked reason provides additional information..temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;Time when the operation transitioned to a closed state.Endpoint name, resolved to a URL via the cluster's endpoint registry.Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.Scheduled time + schedule to close timeout.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who started this operation.The time when the last attempt completed.The last attempt's failure, if any.Links attached by the handler of this operation on start or completion.The time when the next attempt is scheduled.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Operation name.Unique identifier of this Nexus operation within its namespace along with run ID (below).Operation token.Server-generated request ID used as an idempotency token when submitting start requests to the handler.string run_id = 2;Time the operation was originally scheduled via a StartNexusOperation request.Schedule-to-close timeout for this operation.Schedule-to-start timeout for this operation..temporal.api.common.v1.SearchAttributes search_attributes = 24;Service name.Start-to-close timeout for this operation.More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.Updated once on scheduled and once on terminal status.Incremented each time the operation's state is mutated in persistence.A 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.clone()booleanHeader for context propagation and tracing purposes.intThe 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;.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;com.google.protobuf.TimestampTime when the operation transitioned to a closed state.com.google.protobuf.Timestamp.BuilderTime when the operation transitioned to a closed state.com.google.protobuf.TimestampOrBuilderTime when the operation transitioned to a closed state.static final com.google.protobuf.Descriptors.Descriptorcom.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.Duration.BuilderElapsed 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.Timestamp.BuilderScheduled 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.Timestamp.BuilderThe 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.The last attempt's failure, if any.getLinks(int index) Links attached by the handler of this operation on start or completion.getLinksBuilder(int index) Links attached by the handler of this operation on start or completion.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.Deprecated.com.google.protobuf.TimestampThe time when the next attempt is scheduled.com.google.protobuf.Timestamp.BuilderThe 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.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.Timestamp.BuilderTime 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.Duration.BuilderSchedule-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.Duration.BuilderSchedule-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;.temporal.api.common.v1.SearchAttributes search_attributes = 24;Service name.com.google.protobuf.ByteStringService name.com.google.protobuf.DurationStart-to-close timeout for this operation.com.google.protobuf.Duration.BuilderStart-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.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.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) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final boolean.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;mergeCloseTime(com.google.protobuf.Timestamp value) Time when the operation transitioned to a closed state.mergeExecutionDuration(com.google.protobuf.Duration value) Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.mergeExpirationTime(com.google.protobuf.Timestamp value) Scheduled time + schedule to close timeout.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.mergeLastAttemptFailure(Failure value) The last attempt's failure, if any.mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.mergeScheduleTime(com.google.protobuf.Timestamp value) Time the operation was originally scheduled via a StartNexusOperation request.mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation.mergeScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation..temporal.api.common.v1.SearchAttributes search_attributes = 24;mergeStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.putAllNexusHeader(Map<String, String> values) Header for context propagation and tracing purposes.putNexusHeader(String key, String value) Header for context propagation and tracing purposes.removeLinks(int index) Links attached by the handler of this operation on start or completion.removeNexusHeader(String key) Header for context propagation and tracing purposes.setAttempt(int value) The number of attempts made to deliver the start operation request.setBlockedReason(String value) If the state is BLOCKED, blocked reason provides additional information.setBlockedReasonBytes(com.google.protobuf.ByteString value) If the state is BLOCKED, blocked reason provides additional information..temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;setCancellationInfo(NexusOperationExecutionCancellationInfo.Builder builderForValue) .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19;setCloseTime(com.google.protobuf.Timestamp value) Time when the operation transitioned to a closed state.setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the operation transitioned to a closed state.setEndpoint(String value) Endpoint name, resolved to a URL via the cluster's endpoint registry.setEndpointBytes(com.google.protobuf.ByteString value) Endpoint name, resolved to a URL via the cluster's endpoint registry.setExecutionDuration(com.google.protobuf.Duration value) Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.setExpirationTime(com.google.protobuf.Timestamp value) Scheduled time + schedule to close timeout.setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) Scheduled time + schedule to close timeout.setIdentity(String value) The identity of the client who started this operation.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who started this operation.setLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the last attempt completed.setLastAttemptFailure(Failure value) The last attempt's failure, if any.setLastAttemptFailure(Failure.Builder builderForValue) The last attempt's failure, if any.Links attached by the handler of this operation on start or completion.setLinks(int index, Link.Builder builderForValue) Links attached by the handler of this operation on start or completion.setNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the next attempt is scheduled.setOperation(String value) Operation name.setOperationBytes(com.google.protobuf.ByteString value) Operation name.setOperationId(String value) Unique identifier of this Nexus operation within its namespace along with run ID (below).setOperationIdBytes(com.google.protobuf.ByteString value) Unique identifier of this Nexus operation within its namespace along with run ID (below).setOperationToken(String value) Operation token.setOperationTokenBytes(com.google.protobuf.ByteString value) Operation token.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) Server-generated request ID used as an idempotency token when submitting start requests to the handler.setRequestIdBytes(com.google.protobuf.ByteString value) Server-generated request ID used as an idempotency token when submitting start requests to the handler.string run_id = 2;setRunIdBytes(com.google.protobuf.ByteString value) string run_id = 2;setScheduleTime(com.google.protobuf.Timestamp value) Time the operation was originally scheduled via a StartNexusOperation request.setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the operation was originally scheduled via a StartNexusOperation request.setScheduleToCloseTimeout(com.google.protobuf.Duration value) Schedule-to-close timeout for this operation.setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-close timeout for this operation.setScheduleToStartTimeout(com.google.protobuf.Duration value) Schedule-to-start timeout for this operation.setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) Schedule-to-start timeout for this operation..temporal.api.common.v1.SearchAttributes search_attributes = 24;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 24;setService(String value) Service name.setServiceBytes(com.google.protobuf.ByteString value) Service name.setStartToCloseTimeout(com.google.protobuf.Duration value) Start-to-close timeout for this operation.setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) Start-to-close timeout for this operation.More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.setStateSizeBytes(long value) Updated once on scheduled and once on terminal status.setStateTransitionCount(long value) Incremented each time the operation's state is mutated in persistence.setStateValue(int value) More 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.setStatusValue(int value) A general status for this operation, indicates whether it is currently running or in one of the terminal statuses.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserMetadata(UserMetadata value) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.setUserMetadata(UserMetadata.Builder builderForValue) Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.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<NexusOperationExecutionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
setField
public NexusOperationExecutionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
clearField
public NexusOperationExecutionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
clearOneof
public NexusOperationExecutionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
setRepeatedField
public NexusOperationExecutionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
addRepeatedField
public NexusOperationExecutionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationExecutionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
mergeFrom
public NexusOperationExecutionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NexusOperationExecutionInfo.Builder>- Throws:
IOException
-
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.
-
setOperationId
Unique identifier of this Nexus operation within its namespace along with run ID (below).
string operation_id = 1;- Parameters:
value- The operationId to set.- Returns:
- This builder for chaining.
-
clearOperationId
Unique identifier of this Nexus operation within its namespace along with run ID (below).
string operation_id = 1;- Returns:
- This builder for chaining.
-
setOperationIdBytes
public NexusOperationExecutionInfo.Builder setOperationIdBytes(com.google.protobuf.ByteString value) Unique identifier of this Nexus operation within its namespace along with run ID (below).
string operation_id = 1;- Parameters:
value- The bytes for operationId to set.- Returns:
- This builder for chaining.
-
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.
-
setRunId
string run_id = 2;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
string run_id = 2;- Returns:
- This builder for chaining.
-
setRunIdBytes
string run_id = 2;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
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.
-
setEndpoint
Endpoint name, resolved to a URL via the cluster's endpoint registry.
string endpoint = 3;- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
Endpoint name, resolved to a URL via the cluster's endpoint registry.
string endpoint = 3;- Returns:
- This builder for chaining.
-
setEndpointBytes
Endpoint name, resolved to a URL via the cluster's endpoint registry.
string endpoint = 3;- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
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.
-
setService
Service name.
string service = 4;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Service name.
string service = 4;- Returns:
- This builder for chaining.
-
setServiceBytes
Service name.
string service = 4;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
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.
-
setOperation
Operation name.
string operation = 5;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
Operation name.
string operation = 5;- Returns:
- This builder for chaining.
-
setOperationBytes
Operation name.
string operation = 5;- Parameters:
value- The bytes for operation to set.- Returns:
- This builder for chaining.
-
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.
-
setStatusValue
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;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
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.
-
setStatus
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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
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;- Returns:
- This builder for chaining.
-
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.
-
setStateValue
More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Specified by:
getStatein interfaceNexusOperationExecutionInfoOrBuilder- Returns:
- The state.
-
setState
More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.
.temporal.api.enums.v1.PendingNexusOperationState state = 7;- Returns:
- This builder for chaining.
-
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.
-
setScheduleToCloseTimeout
public NexusOperationExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration value) 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; -
setScheduleToCloseTimeout
public NexusOperationExecutionInfo.Builder setScheduleToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeScheduleToCloseTimeout
public NexusOperationExecutionInfo.Builder mergeScheduleToCloseTimeout(com.google.protobuf.Duration value) 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; -
clearScheduleToCloseTimeout
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; -
getScheduleToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()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; -
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.
-
setScheduleToStartTimeout
public NexusOperationExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration value) 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; -
setScheduleToStartTimeout
public NexusOperationExecutionInfo.Builder setScheduleToStartTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeScheduleToStartTimeout
public NexusOperationExecutionInfo.Builder mergeScheduleToStartTimeout(com.google.protobuf.Duration value) 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; -
clearScheduleToStartTimeout
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; -
getScheduleToStartTimeoutBuilder
public com.google.protobuf.Duration.Builder getScheduleToStartTimeoutBuilder()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; -
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.
-
setStartToCloseTimeout
public NexusOperationExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration value) 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; -
setStartToCloseTimeout
public NexusOperationExecutionInfo.Builder setStartToCloseTimeout(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeStartToCloseTimeout
public NexusOperationExecutionInfo.Builder mergeStartToCloseTimeout(com.google.protobuf.Duration value) 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; -
clearStartToCloseTimeout
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; -
getStartToCloseTimeoutBuilder
public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()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; -
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.
-
setAttempt
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;- Parameters:
value- The attempt to set.- Returns:
- This builder for chaining.
-
clearAttempt
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;- Returns:
- This builder for chaining.
-
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.
-
setScheduleTime
Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12; -
setScheduleTime
public NexusOperationExecutionInfo.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12; -
mergeScheduleTime
Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12; -
clearScheduleTime
Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12; -
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()Time the operation was originally scheduled via a StartNexusOperation request.
.google.protobuf.Timestamp schedule_time = 12; -
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.
-
setExpirationTime
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13; -
setExpirationTime
public NexusOperationExecutionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13; -
mergeExpirationTime
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13; -
clearExpirationTime
Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13; -
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()Scheduled time + schedule to close timeout.
.google.protobuf.Timestamp expiration_time = 13; -
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.
-
setCloseTime
Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14; -
setCloseTime
public NexusOperationExecutionInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14; -
mergeCloseTime
Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14; -
clearCloseTime
Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14; -
getCloseTimeBuilder
public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()Time when the operation transitioned to a closed state.
.google.protobuf.Timestamp close_time = 14; -
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.
-
setLastAttemptCompleteTime
public NexusOperationExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15; -
setLastAttemptCompleteTime
public NexusOperationExecutionInfo.Builder setLastAttemptCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15; -
mergeLastAttemptCompleteTime
public NexusOperationExecutionInfo.Builder mergeLastAttemptCompleteTime(com.google.protobuf.Timestamp value) The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15; -
clearLastAttemptCompleteTime
The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15; -
getLastAttemptCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptCompleteTimeBuilder()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 15; -
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.
-
setLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16; -
setLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16; -
mergeLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16; -
clearLastAttemptFailure
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16; -
getLastAttemptFailureBuilder
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 16; -
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.
-
setNextAttemptScheduleTime
public NexusOperationExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17; -
setNextAttemptScheduleTime
public NexusOperationExecutionInfo.Builder setNextAttemptScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17; -
mergeNextAttemptScheduleTime
public NexusOperationExecutionInfo.Builder mergeNextAttemptScheduleTime(com.google.protobuf.Timestamp value) The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17; -
clearNextAttemptScheduleTime
The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17; -
getNextAttemptScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getNextAttemptScheduleTimeBuilder()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 17; -
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.
-
setExecutionDuration
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; -
setExecutionDuration
public NexusOperationExecutionInfo.Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) 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; -
mergeExecutionDuration
public NexusOperationExecutionInfo.Builder mergeExecutionDuration(com.google.protobuf.Duration value) 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; -
clearExecutionDuration
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; -
getExecutionDurationBuilder
public com.google.protobuf.Duration.Builder getExecutionDurationBuilder()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; -
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.
-
setCancellationInfo
public NexusOperationExecutionInfo.Builder setCancellationInfo(NexusOperationExecutionCancellationInfo value) .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19; -
setCancellationInfo
public NexusOperationExecutionInfo.Builder setCancellationInfo(NexusOperationExecutionCancellationInfo.Builder builderForValue) .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19; -
mergeCancellationInfo
public NexusOperationExecutionInfo.Builder mergeCancellationInfo(NexusOperationExecutionCancellationInfo value) .temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19; -
clearCancellationInfo
.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19; -
getCancellationInfoBuilder
.temporal.api.nexus.v1.NexusOperationExecutionCancellationInfo cancellation_info = 19; -
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.
-
setBlockedReason
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 20;- Parameters:
value- The blockedReason to set.- Returns:
- This builder for chaining.
-
clearBlockedReason
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 20;- Returns:
- This builder for chaining.
-
setBlockedReasonBytes
public NexusOperationExecutionInfo.Builder setBlockedReasonBytes(com.google.protobuf.ByteString value) If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 20;- Parameters:
value- The bytes for blockedReason to set.- Returns:
- This builder for chaining.
-
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.
-
setRequestId
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;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
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;- Returns:
- This builder for chaining.
-
setRequestIdBytes
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;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
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.
-
setOperationToken
Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 22;- Parameters:
value- The operationToken to set.- Returns:
- This builder for chaining.
-
clearOperationToken
Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 22;- Returns:
- This builder for chaining.
-
setOperationTokenBytes
public NexusOperationExecutionInfo.Builder setOperationTokenBytes(com.google.protobuf.ByteString value) Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 22;- Parameters:
value- The bytes for operationToken to set.- Returns:
- This builder for chaining.
-
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.
-
setStateTransitionCount
Incremented each time the operation's state is mutated in persistence.
int64 state_transition_count = 23;- Parameters:
value- The stateTransitionCount to set.- Returns:
- This builder for chaining.
-
clearStateTransitionCount
Incremented each time the operation's state is mutated in persistence.
int64 state_transition_count = 23;- Returns:
- This builder for chaining.
-
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.
-
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 24; -
setSearchAttributes
public NexusOperationExecutionInfo.Builder setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 24; -
mergeSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 24; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 24; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 24; -
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
-
clearNexusHeader
-
removeNexusHeader
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25; -
getMutableNexusHeader
Deprecated.Use alternate mutation accessors instead. -
putNexusHeader
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25; -
putAllNexusHeader
Header for context propagation and tracing purposes.
map<string, string> nexus_header = 25; -
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.
-
setUserMetadata
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; -
setUserMetadata
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; -
mergeUserMetadata
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; -
clearUserMetadata
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; -
getUserMetadataBuilder
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; -
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
-
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
-
setLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
setLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addAllLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
clearLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
removeLinks
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
getLinksBuilder
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
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
-
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
-
addLinksBuilder
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
addLinksBuilder
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
getLinksBuilderList
Links attached by the handler of this operation on start or completion.
repeated .temporal.api.common.v1.Link links = 27; -
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.
-
setIdentity
The identity of the client who started this operation.
string identity = 28;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who started this operation.
string identity = 28;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the client who started this operation.
string identity = 28;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
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.
-
setStateSizeBytes
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 29;- Parameters:
value- The stateSizeBytes to set.- Returns:
- This builder for chaining.
-
clearStateSizeBytes
Updated once on scheduled and once on terminal status.
int64 state_size_bytes = 29;- Returns:
- This builder for chaining.
-
setUnknownFields
public final NexusOperationExecutionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-
mergeUnknownFields
public final NexusOperationExecutionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NexusOperationExecutionInfo.Builder>
-