Package io.temporal.api.workflow.v1
Interface NexusOperationCancellationInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NexusOperationCancellationInfo,NexusOperationCancellationInfo.Builder
@Generated(value="protoc", comments="annotations:NexusOperationCancellationInfoOrBuilder.java.pb.meta") public interface NexusOperationCancellationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAttempt()The number of attempts made to deliver the cancel 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.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.com.google.protobuf.TimestampgetRequestedTime()The time when cancellation was requested.com.google.protobuf.TimestampOrBuildergetRequestedTimeOrBuilder()The time when cancellation was requested.NexusOperationCancellationStategetState().temporal.api.enums.v1.NexusOperationCancellationState state = 2;intgetStateValue().temporal.api.enums.v1.NexusOperationCancellationState state = 2;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.booleanhasRequestedTime()The time when cancellation was requested.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRequestedTime
boolean hasRequestedTime()
The time when cancellation was requested.
.google.protobuf.Timestamp requested_time = 1;- Returns:
- Whether the requestedTime field is set.
-
getRequestedTime
com.google.protobuf.Timestamp getRequestedTime()
The time when cancellation was requested.
.google.protobuf.Timestamp requested_time = 1;- Returns:
- The requestedTime.
-
getRequestedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRequestedTimeOrBuilder()
The time when cancellation was requested.
.google.protobuf.Timestamp requested_time = 1;
-
getStateValue
int getStateValue()
.temporal.api.enums.v1.NexusOperationCancellationState state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
NexusOperationCancellationState getState()
.temporal.api.enums.v1.NexusOperationCancellationState state = 2;- Returns:
- The state.
-
getAttempt
int getAttempt()
The number of attempts made to deliver the cancel operation request. This number represents a minimum bound since the attempt is incremented after the request completes.
int32 attempt = 3;- Returns:
- The attempt.
-
hasLastAttemptCompleteTime
boolean hasLastAttemptCompleteTime()
The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 4;- 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 = 4;- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 4;
-
hasLastAttemptFailure
boolean hasLastAttemptFailure()
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 5;- 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 = 5;- Returns:
- The lastAttemptFailure.
-
getLastAttemptFailureOrBuilder
FailureOrBuilder getLastAttemptFailureOrBuilder()
The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 5;
-
hasNextAttemptScheduleTime
boolean hasNextAttemptScheduleTime()
The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 6;- 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 = 6;- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 6;
-
getBlockedReason
java.lang.String getBlockedReason()
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 7;- Returns:
- The blockedReason.
-
getBlockedReasonBytes
com.google.protobuf.ByteString getBlockedReasonBytes()
If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 7;- Returns:
- The bytes for blockedReason.
-
-