Interface CallbackInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CallbackInfo, CallbackInfo.Builder

@Generated(value="protoc", comments="annotations:CallbackInfoOrBuilder.java.pb.meta") public interface CallbackInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCallback

      boolean hasCallback()
       Information on how this callback should be invoked (e.g. its URL and type).
       
      .temporal.api.common.v1.Callback callback = 1;
      Returns:
      Whether the callback field is set.
    • getCallback

      Callback getCallback()
       Information on how this callback should be invoked (e.g. its URL and type).
       
      .temporal.api.common.v1.Callback callback = 1;
      Returns:
      The callback.
    • getCallbackOrBuilder

      CallbackOrBuilder getCallbackOrBuilder()
       Information on how this callback should be invoked (e.g. its URL and type).
       
      .temporal.api.common.v1.Callback callback = 1;
    • hasTrigger

      boolean hasTrigger()
       Trigger for this callback.
       
      .temporal.api.workflow.v1.CallbackInfo.Trigger trigger = 2;
      Returns:
      Whether the trigger field is set.
    • getTrigger

      CallbackInfo.Trigger getTrigger()
       Trigger for this callback.
       
      .temporal.api.workflow.v1.CallbackInfo.Trigger trigger = 2;
      Returns:
      The trigger.
    • getTriggerOrBuilder

      CallbackInfo.TriggerOrBuilder getTriggerOrBuilder()
       Trigger for this callback.
       
      .temporal.api.workflow.v1.CallbackInfo.Trigger trigger = 2;
    • hasRegistrationTime

      boolean hasRegistrationTime()
       The time when the callback was registered.
       
      .google.protobuf.Timestamp registration_time = 3;
      Returns:
      Whether the registrationTime field is set.
    • getRegistrationTime

      com.google.protobuf.Timestamp getRegistrationTime()
       The time when the callback was registered.
       
      .google.protobuf.Timestamp registration_time = 3;
      Returns:
      The registrationTime.
    • getRegistrationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getRegistrationTimeOrBuilder()
       The time when the callback was registered.
       
      .google.protobuf.Timestamp registration_time = 3;
    • getStateValue

      int getStateValue()
      .temporal.api.enums.v1.CallbackState state = 4;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      CallbackState getState()
      .temporal.api.enums.v1.CallbackState state = 4;
      Returns:
      The state.
    • getAttempt

      int getAttempt()
       The number of attempts made to deliver the callback.
       This number represents a minimum bound since the attempt is incremented after the callback request completes.
       
      int32 attempt = 5;
      Returns:
      The attempt.
    • hasLastAttemptCompleteTime

      boolean hasLastAttemptCompleteTime()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 6;
      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 = 6;
      Returns:
      The lastAttemptCompleteTime.
    • getLastAttemptCompleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()
       The time when the last attempt completed.
       
      .google.protobuf.Timestamp last_attempt_complete_time = 6;
    • hasLastAttemptFailure

      boolean hasLastAttemptFailure()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 7;
      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 = 7;
      Returns:
      The lastAttemptFailure.
    • getLastAttemptFailureOrBuilder

      FailureOrBuilder getLastAttemptFailureOrBuilder()
       The last attempt's failure, if any.
       
      .temporal.api.failure.v1.Failure last_attempt_failure = 7;
    • hasNextAttemptScheduleTime

      boolean hasNextAttemptScheduleTime()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 8;
      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 = 8;
      Returns:
      The nextAttemptScheduleTime.
    • getNextAttemptScheduleTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
       The time when the next attempt is scheduled.
       
      .google.protobuf.Timestamp next_attempt_schedule_time = 8;
    • getBlockedReason

      String getBlockedReason()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 9;
      Returns:
      The blockedReason.
    • getBlockedReasonBytes

      com.google.protobuf.ByteString getBlockedReasonBytes()
       If the state is BLOCKED, blocked reason provides additional information.
       
      string blocked_reason = 9;
      Returns:
      The bytes for blockedReason.