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.ExecutionError
getError()
Execution ended with an error.Errors.ExecutionErrorOrBuilder
getErrorOrBuilder()
Execution ended with an error.com.google.protobuf.Empty
getOk()
Successful execution.com.google.protobuf.EmptyOrBuilder
getOkOrBuilder()
Successful execution.Errors.ExecutionStatus.ResultCase
getResultCase()
boolean
hasError()
Execution ended with an error.boolean
hasOk()
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()
-