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 Details

    • 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

      .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

      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.