Package com.exonum.messages.core.runtime
Interface Errors.ExecutionStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Errors.ExecutionStatus,Errors.ExecutionStatus.Builder
- Enclosing class:
- Errors
public static interface Errors.ExecutionStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Errors.ExecutionErrorgetError()Execution ended with an error.Errors.ExecutionErrorOrBuildergetErrorOrBuilder()Execution ended with an error.com.google.protobuf.EmptygetOk()Successful execution.com.google.protobuf.EmptyOrBuildergetOkOrBuilder()Successful execution.Errors.ExecutionStatus.ResultCasegetResultCase()booleanhasError()Execution ended with an error.booleanhasOk()Successful execution.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasOk
boolean hasOk()Successful execution.
.google.protobuf.Empty ok = 1;- Returns:
- Whether the ok field is set.
-
getOk
com.google.protobuf.Empty getOk()Successful execution.
.google.protobuf.Empty ok = 1;- Returns:
- The ok.
-
getOkOrBuilder
com.google.protobuf.EmptyOrBuilder getOkOrBuilder()Successful execution.
.google.protobuf.Empty ok = 1; -
hasError
boolean hasError()Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;- Returns:
- Whether the error field is set.
-
getError
Errors.ExecutionError getError()Execution ended with an error.
.exonum.runtime.ExecutionError error = 2;- Returns:
- The error.
-
getErrorOrBuilder
Errors.ExecutionErrorOrBuilder getErrorOrBuilder()Execution ended with an error.
.exonum.runtime.ExecutionError error = 2; -
getResultCase
Errors.ExecutionStatus.ResultCase getResultCase()
-