Package io.temporal.api.workflow.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAttempt()The number of attempts made to deliver the callback.CallbackgetCallback()Information on how this callback should be invoked (e.g.CallbackOrBuildergetCallbackOrBuilder()Information on how this callback should be invoked (e.g.TimestampgetLastAttemptCompleteTime()The time when the last attempt completed.TimestampOrBuildergetLastAttemptCompleteTimeOrBuilder()The time when the last attempt completed.FailuregetLastAttemptFailure()The last attempt's failure, if any.FailureOrBuildergetLastAttemptFailureOrBuilder()The last attempt's failure, if any.TimestampgetNextAttemptScheduleTime()The time when the next attempt is scheduled.TimestampOrBuildergetNextAttemptScheduleTimeOrBuilder()The time when the next attempt is scheduled.TimestampgetRegistrationTime()The time when the callback was registered.TimestampOrBuildergetRegistrationTimeOrBuilder()The time when the callback was registered.CallbackStategetState().temporal.api.enums.v1.CallbackState state = 4;intgetStateValue().temporal.api.enums.v1.CallbackState state = 4;CallbackInfo.TriggergetTrigger()Trigger for this callback.CallbackInfo.TriggerOrBuildergetTriggerOrBuilder()Trigger for this callback.booleanhasCallback()Information on how this callback should be invoked (e.g.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.booleanhasRegistrationTime()The time when the callback was registered.booleanhasTrigger()Trigger for this callback.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
Timestamp getRegistrationTime()
The time when the callback was registered.
.google.protobuf.Timestamp registration_time = 3;- Returns:
- The registrationTime.
-
getRegistrationTimeOrBuilder
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
Timestamp getLastAttemptCompleteTime()
The time when the last attempt completed.
.google.protobuf.Timestamp last_attempt_complete_time = 6;- Returns:
- The lastAttemptCompleteTime.
-
getLastAttemptCompleteTimeOrBuilder
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
Timestamp getNextAttemptScheduleTime()
The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 8;- Returns:
- The nextAttemptScheduleTime.
-
getNextAttemptScheduleTimeOrBuilder
TimestampOrBuilder getNextAttemptScheduleTimeOrBuilder()
The time when the next attempt is scheduled.
.google.protobuf.Timestamp next_attempt_schedule_time = 8;
-
-