Package io.temporal.api.activity.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailuregetFailure()The failure if the activity completed unsuccessfully.FailureOrBuildergetFailureOrBuilder()The failure if the activity completed unsuccessfully.PayloadsgetResult()The result if the activity completed successfully.PayloadsOrBuildergetResultOrBuilder()The result if the activity completed successfully.ActivityExecutionOutcome.ValueCasegetValueCase()booleanhasFailure()The failure if the activity completed unsuccessfully.booleanhasResult()The result if the activity completed successfully.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
getValueCase
ActivityExecutionOutcome.ValueCase getValueCase()
-
-