Package io.temporal.api.workflow.v1
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetAttempt()The number of attempts made to deliver the start operation request.java.lang.StringgetBlockedReason()If the state is BLOCKED, blocked reason provides additional information.com.google.protobuf.ByteStringgetBlockedReasonBytes()If the state is BLOCKED, blocked reason provides additional information.NexusOperationCancellationInfogetCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;NexusOperationCancellationInfoOrBuildergetCancellationInfoOrBuilder().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;java.lang.StringgetEndpoint()Endpoint name.com.google.protobuf.ByteStringgetEndpointBytes()Endpoint name.com.google.protobuf.TimestampgetLastAttemptCompleteTime()The time when the last attempt completed.com.google.protobuf.TimestampOrBuildergetLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.FailuregetLastAttemptFailure()The last attempt's failure, if any.FailureOrBuildergetLastAttemptFailureOrBuilder()The last attempt's failure, if any.com.google.protobuf.TimestampgetNextAttemptScheduleTime()The time when the next attempt is scheduled.com.google.protobuf.TimestampOrBuildergetNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.java.lang.StringgetOperation()Operation name.com.google.protobuf.ByteStringgetOperationBytes()Operation name.java.lang.StringgetOperationId()Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.com.google.protobuf.ByteStringgetOperationIdBytes()Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated.java.lang.StringgetOperationToken()Operation token.com.google.protobuf.ByteStringgetOperationTokenBytes()Operation token.longgetScheduledEventId()The event ID of the NexusOperationScheduled event.com.google.protobuf.TimestampgetScheduledTime()The time when the operation was scheduled.com.google.protobuf.TimestampOrBuildergetScheduledTimeOrBuilder()The time when the operation was scheduled.com.google.protobuf.DurationgetScheduleToCloseTimeout()Schedule-to-close timeout for this operation.com.google.protobuf.DurationOrBuildergetScheduleToCloseTimeoutOrBuilder()Schedule-to-close timeout for this operation.java.lang.StringgetService()Service name.com.google.protobuf.ByteStringgetServiceBytes()Service name.PendingNexusOperationStategetState().temporal.api.enums.v1.PendingNexusOperationState state = 7;intgetStateValue().temporal.api.enums.v1.PendingNexusOperationState state = 7;booleanhasCancellationInfo().temporal.api.workflow.v1.NexusOperationCancellationInfo cancellation_info = 12;booleanhasLastAttemptCompleteTime()The time when the last attempt completed.booleanhasLastAttemptFailure()The last attempt's failure, if any.booleanhasNextAttemptScheduleTime()The time when the next attempt is scheduled.booleanhasScheduledTime()The time when the operation was scheduled.booleanhasScheduleToCloseTimeout()Schedule-to-close timeout for this operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEndpoint
java.lang.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
java.lang.String getService()
Service name.
string service = 2;- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()
Service name.
string service = 2;- Returns:
- The bytes for service.
-
getOperation
java.lang.String getOperation()
Operation name.
string operation = 3;- Returns:
- The operation.
-
getOperationBytes
com.google.protobuf.ByteString getOperationBytes()
Operation name.
string operation = 3;- Returns:
- The bytes for operation.
-
getOperationId
@Deprecated java.lang.String getOperationId()
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=469Operation 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 com.google.protobuf.ByteString getOperationIdBytes()
Deprecated.temporal.api.workflow.v1.PendingNexusOperationInfo.operation_id is deprecated. See temporal/api/workflow/v1/message.proto;l=469Operation 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 represents a minimum bound since the attempt is incremented after the request completes.
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
java.lang.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
java.lang.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.
-
-