Package com.exonum.messages.core.runtime
Interface Errors.ExecutionErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Errors.ExecutionError
,Errors.ExecutionError.Builder
- Enclosing class:
- Errors
public static interface Errors.ExecutionErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Errors.ExecutionError.CallInfoCase
getCallInfoCase()
Errors.CallSite
getCallSite()
Information about service call associated with the error.Errors.CallSiteOrBuilder
getCallSiteOrBuilder()
Information about service call associated with the error.int
getCode()
User defined error code that can have different meanings for the different error kinds.java.lang.String
getDescription()
Optional error description.com.google.protobuf.ByteString
getDescriptionBytes()
Optional error description.Errors.ErrorKind
getKind()
The kind of error that indicates its type.int
getKindValue()
The kind of error that indicates its type.com.google.protobuf.Empty
getNoCallSite()
There was no service to process an erroneous call.com.google.protobuf.EmptyOrBuilder
getNoCallSiteOrBuilder()
There was no service to process an erroneous call.com.google.protobuf.Empty
getNoRuntimeId()
There was no runtime to process an erroneous call.com.google.protobuf.EmptyOrBuilder
getNoRuntimeIdOrBuilder()
There was no runtime to process an erroneous call.Errors.ExecutionError.RuntimeCase
getRuntimeCase()
int
getRuntimeId()
Identifier of runtime associated with the error.boolean
hasCallSite()
Information about service call associated with the error.boolean
hasNoCallSite()
There was no service to process an erroneous call.boolean
hasNoRuntimeId()
There was no runtime to process an erroneous call.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKindValue
int getKindValue()The kind of error that indicates its type.
.exonum.runtime.ErrorKind kind = 1;
- Returns:
- The enum numeric value on the wire for kind.
-
getKind
Errors.ErrorKind getKind()The kind of error that indicates its type.
.exonum.runtime.ErrorKind kind = 1;
- Returns:
- The kind.
-
getCode
int getCode()User defined error code that can have different meanings for the different error kinds.
uint32 code = 2;
- Returns:
- The code.
-
getDescription
java.lang.String getDescription()Optional error description. When one verifies proof of error authenticity, the description should not be included into error serialization.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional error description. When one verifies proof of error authenticity, the description should not be included into error serialization.
string description = 3;
- Returns:
- The bytes for description.
-
getRuntimeId
int getRuntimeId()Identifier of runtime associated with the error.
uint32 runtime_id = 4;
- Returns:
- The runtimeId.
-
hasNoRuntimeId
boolean hasNoRuntimeId()There was no runtime to process an erroneous call.
.google.protobuf.Empty no_runtime_id = 5;
- Returns:
- Whether the noRuntimeId field is set.
-
getNoRuntimeId
com.google.protobuf.Empty getNoRuntimeId()There was no runtime to process an erroneous call.
.google.protobuf.Empty no_runtime_id = 5;
- Returns:
- The noRuntimeId.
-
getNoRuntimeIdOrBuilder
com.google.protobuf.EmptyOrBuilder getNoRuntimeIdOrBuilder()There was no runtime to process an erroneous call.
.google.protobuf.Empty no_runtime_id = 5;
-
hasCallSite
boolean hasCallSite()Information about service call associated with the error.
.exonum.runtime.CallSite call_site = 6;
- Returns:
- Whether the callSite field is set.
-
getCallSite
Errors.CallSite getCallSite()Information about service call associated with the error.
.exonum.runtime.CallSite call_site = 6;
- Returns:
- The callSite.
-
getCallSiteOrBuilder
Errors.CallSiteOrBuilder getCallSiteOrBuilder()Information about service call associated with the error.
.exonum.runtime.CallSite call_site = 6;
-
hasNoCallSite
boolean hasNoCallSite()There was no service to process an erroneous call.
.google.protobuf.Empty no_call_site = 7;
- Returns:
- Whether the noCallSite field is set.
-
getNoCallSite
com.google.protobuf.Empty getNoCallSite()There was no service to process an erroneous call.
.google.protobuf.Empty no_call_site = 7;
- Returns:
- The noCallSite.
-
getNoCallSiteOrBuilder
com.google.protobuf.EmptyOrBuilder getNoCallSiteOrBuilder()There was no service to process an erroneous call.
.google.protobuf.Empty no_call_site = 7;
-
getRuntimeCase
Errors.ExecutionError.RuntimeCase getRuntimeCase() -
getCallInfoCase
Errors.ExecutionError.CallInfoCase getCallInfoCase()
-