Interface ActivityExecutionOutcomeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityExecutionOutcome,ActivityExecutionOutcome.Builder
@Generated(value="protoc",
comments="annotations:ActivityExecutionOutcomeOrBuilder.java.pb.meta")
public interface ActivityExecutionOutcomeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe failure if the activity completed unsuccessfully.The failure if the activity completed unsuccessfully.The result if the activity completed successfully.The result if the activity completed successfully.The retry state associated with an unsuccessful activity execution.intThe retry state associated with an unsuccessful activity execution.booleanThe failure if the activity completed unsuccessfully.booleanThe result if the activity completed successfully.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
-
hasResult
boolean hasResult()The result if the activity completed successfully.
.temporal.api.common.v1.Payloads result = 1;- Returns:
- Whether the result field is set.
-
getResult
Payloads getResult()The result if the activity completed successfully.
.temporal.api.common.v1.Payloads result = 1;- Returns:
- The result.
-
getResultOrBuilder
PayloadsOrBuilder getResultOrBuilder()The result if the activity completed successfully.
.temporal.api.common.v1.Payloads result = 1; -
hasFailure
boolean hasFailure()The failure if the activity completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 2;- Returns:
- Whether the failure field is set.
-
getFailure
Failure getFailure()The failure if the activity completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 2;- Returns:
- The failure.
-
getFailureOrBuilder
FailureOrBuilder getFailureOrBuilder()The failure if the activity completed unsuccessfully.
.temporal.api.failure.v1.Failure failure = 2; -
getRetryStateValue
int getRetryStateValue()The retry state associated with an unsuccessful activity execution. This field is only meaningful when `failure` is set.
.temporal.api.enums.v1.RetryState retry_state = 3;- Returns:
- The enum numeric value on the wire for retryState.
-
getRetryState
RetryState getRetryState()The retry state associated with an unsuccessful activity execution. This field is only meaningful when `failure` is set.
.temporal.api.enums.v1.RetryState retry_state = 3;- Returns:
- The retryState.
-
getValueCase
ActivityExecutionOutcome.ValueCase getValueCase()
-