Interface PendingNexusOperationInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PendingNexusOperationInfo,PendingNexusOperationInfo.Builder
@Generated(value="protoc",
comments="annotations:PendingNexusOperationInfoOrBuilder.java.pb.meta")
public interface PendingNexusOperationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe 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.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;Endpoint name.com.google.protobuf.ByteStringEndpoint name.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.com.google.protobuf.TimestampThe time when the next attempt is scheduled.com.google.protobuf.TimestampOrBuilderThe time when the next attempt is scheduled.Operation name.com.google.protobuf.ByteStringOperation name.Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.Operation token.com.google.protobuf.ByteStringOperation token.longThe event ID of the NexusOperationScheduled event.com.google.protobuf.TimestampThe time when the operation was scheduled.com.google.protobuf.TimestampOrBuilderThe time when the operation was scheduled.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.Service 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().temporal.api.enums.v1.PendingNexusOperationState state = 7;int.temporal.api.enums.v1.PendingNexusOperationState state = 7;boolean.temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;booleanThe time when the last attempt completed.booleanThe last attempt's failure, if any.booleanThe time when the next attempt is scheduled.booleanThe time when the operation was scheduled.booleanSchedule-to-close timeout for this operation.booleanSchedule-to-start timeout for this operation.booleanStart-to-close timeout for this operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEndpoint
String getEndpoint()Endpoint name. Resolved to a URL via the cluster's endpoint registry.
string endpoint = 1;- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()Endpoint name. Resolved to a URL via the cluster's endpoint registry.
string endpoint = 1;- Returns:
- The bytes for endpoint.
-
getService
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()Service name.
string service = 2;- Returns:
- The bytes for service.
-
getOperation
-
getOperationBytes
com.google.protobuf.ByteString getOperationBytes()Operation name.
string operation = 3;- Returns:
- The bytes for operation.
-
getOperationId
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated. Renamed to operation_token.
string operation_id = 4 [deprecated = true];- Returns:
- The operationId.
-
getOperationIdBytes
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=509Operation ID. Only set for asynchronous operations after a successful StartOperation call. Deprecated. Renamed to operation_token.
string operation_id = 4 [deprecated = true];- Returns:
- The bytes for operationId.
-
hasScheduleToCloseTimeout
boolean hasScheduleToCloseTimeout()Schedule-to-close timeout for this operation. This is the only timeout settable by a workflow. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Returns:
- Whether the scheduleToCloseTimeout field is set.
-
getScheduleToCloseTimeout
com.google.protobuf.Duration getScheduleToCloseTimeout()Schedule-to-close timeout for this operation. This is the only timeout settable by a workflow. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5;- Returns:
- The scheduleToCloseTimeout.
-
getScheduleToCloseTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation. This is the only timeout settable by a workflow. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --).google.protobuf.Duration schedule_to_close_timeout = 5; -
hasScheduledTime
boolean hasScheduledTime()The time when the operation was scheduled.
.google.protobuf.Timestamp scheduled_time = 6;- Returns:
- Whether the scheduledTime field is set.
-
getScheduledTime
com.google.protobuf.Timestamp getScheduledTime()The time when the operation was scheduled.
.google.protobuf.Timestamp scheduled_time = 6;- Returns:
- The scheduledTime.
-
getScheduledTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()The time when the operation was scheduled.
.google.protobuf.Timestamp scheduled_time = 6; -
getStateValue
int getStateValue().temporal.api.enums.v1.PendingNexusOperationState state = 7;- Returns:
- The enum numeric value on the wire for state.
-
getState
PendingNexusOperationState getState().temporal.api.enums.v1.PendingNexusOperationState state = 7;- Returns:
- The state.
-
getAttempt
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 = 8;- Returns:
- The attempt.
-
hasLastAttemptCompleteTime
boolean hasLastAttemptCompleteTime()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 9;- Returns:
- Whether the lastAttemptCompleteTime field is set.
-
getLastAttemptCompleteTime
com.google.protobuf.Timestamp getLastAttemptCompleteTime()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 9;- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 9; -
hasLastAttemptFailure
boolean hasLastAttemptFailure()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10;- Returns:
- Whether the lastAttemptFailure field is set.
-
getLastAttemptFailure
Failure getLastAttemptFailure()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10;- Returns:
- The lastAttemptFailure.
-
getLastAttemptFailureOrBuilder
FailureOrBuilder getLastAttemptFailureOrBuilder()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 10; -
hasNextAttemptScheduleTime
boolean hasNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 11;- Returns:
- Whether the nextAttemptScheduleTime field is set.
-
getNextAttemptScheduleTime
com.google.protobuf.Timestamp getNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 11;- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 11; -
hasCancellationInfo
boolean hasCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Returns:
- Whether the cancellationInfo field is set.
-
getCancellationInfo
NexusOperationCancellationInfo getCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;- Returns:
- The cancellationInfo.
-
getCancellationInfoOrBuilder
NexusOperationCancellationInfoOrBuilder getCancellationInfoOrBuilder().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12; -
getScheduledEventId
long getScheduledEventId()The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the DescribeWorkflowExecution response with workflow history.
int64 scheduled_event_id = 13;- Returns:
- The scheduledEventId.
-
getBlockedReason
String getBlockedReason()If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 14;- Returns:
- The blockedReason.
-
getBlockedReasonBytes
com.google.protobuf.ByteString getBlockedReasonBytes()If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 14;- Returns:
- The bytes for blockedReason.
-
getOperationToken
String getOperationToken()Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 15;- Returns:
- The operationToken.
-
getOperationTokenBytes
com.google.protobuf.ByteString getOperationTokenBytes()Operation token. Only set for asynchronous operations after a successful StartOperation call.
string operation_token = 15;- Returns:
- The bytes for operationToken.
-
hasScheduleToStartTimeout
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 = 16;- Returns:
- Whether the scheduleToStartTimeout field is set.
-
getScheduleToStartTimeout
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 = 16;- Returns:
- The scheduleToStartTimeout.
-
getScheduleToStartTimeoutOrBuilder
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 = 16; -
hasStartToCloseTimeout
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 = 17;- Returns:
- Whether the startToCloseTimeout field is set.
-
getStartToCloseTimeout
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 = 17;- Returns:
- The startToCloseTimeout.
-
getStartToCloseTimeoutOrBuilder
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 = 17;
-