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 Summary
Modifier and TypeMethodDescriptionintThe number of attempts made to deliver the callback.If the state is BLOCKED, blocked reason provides additional information.com.google.protobuf.ByteStringIf the state is BLOCKED, blocked reason provides additional information.Information on how this callback should be invoked (e.g.Information on how this callback should be invoked (e.g.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.com.google.protobuf.TimestampThe time when the callback was registered.com.google.protobuf.TimestampOrBuilderThe time when the callback was registered.getState()The current state of the callback.intThe current state of the callback.booleanInformation on how this callback should be invoked (e.g.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 callback was registered.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
-
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; -
hasRegistrationTime
boolean hasRegistrationTime()The time when the callback was registered.
.google.protobuf.Timestamp registration_time = 2;- 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 = 2;- Returns:
- The registrationTime.
-
getRegistrationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRegistrationTimeOrBuilder()The time when the callback was registered.
.google.protobuf.Timestamp registration_time = 2; -
getStateValue
int getStateValue()The current state of the callback.
.temporal.api.enums.v1.CallbackState state = 3;- Returns:
- The enum numeric value on the wire for state.
-
getState
CallbackState getState()The current state of the callback.
.temporal.api.enums.v1.CallbackState state = 3;- 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 = 4;- Returns:
- The attempt.
-
hasLastAttemptCompleteTime
boolean hasLastAttemptCompleteTime()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 5;- 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 = 5;- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 5; -
hasLastAttemptFailure
boolean hasLastAttemptFailure()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 6;- 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 = 6;- Returns:
- The lastAttemptFailure.
-
getLastAttemptFailureOrBuilder
FailureOrBuilder getLastAttemptFailureOrBuilder()The last attempt's failure, if any.
.temporal.api.failure.v1.Failure last_attempt_failure = 6; -
hasNextAttemptScheduleTime
boolean hasNextAttemptScheduleTime()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 7;- 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 = 7;- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 7; -
getBlockedReason
String getBlockedReason()If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 8;- Returns:
- The blockedReason.
-
getBlockedReasonBytes
com.google.protobuf.ByteString getBlockedReasonBytes()If the state is BLOCKED, blocked reason provides additional information.
string blocked_reason = 8;- Returns:
- The bytes for blockedReason.
-