public interface ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getCanonicalCode()
gRPC canonical error code (see
github.com/grpc/grpc-go/blob/master/codes/codes.go)
|
int |
getCode()
Numeric code drawn from target-specific error space above.
|
com.google.protobuf.Any |
getDetails()
Optional: Allows reporting back additional target-specific details on the
error.
|
com.google.protobuf.AnyOrBuilder |
getDetailsOrBuilder()
Optional: Allows reporting back additional target-specific details on the
error.
|
String |
getMessage()
Detailed error message.
|
com.google.protobuf.ByteString |
getMessageBytes()
Detailed error message.
|
String |
getSpace()
Target and architecture specific space to which this error belongs.
|
com.google.protobuf.ByteString |
getSpaceBytes()
Target and architecture specific space to which this error belongs.
|
boolean |
hasDetails()
Optional: Allows reporting back additional target-specific details on the
error.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getCanonicalCode()
gRPC canonical error code (see github.com/grpc/grpc-go/blob/master/codes/codes.go)
int32 canonical_code = 1;
String getMessage()
Detailed error message.
string message = 2;
com.google.protobuf.ByteString getMessageBytes()
Detailed error message.
string message = 2;
String getSpace()
Target and architecture specific space to which this error belongs. We encourage using triplet: <target>-<arch>-<vendor>, e.g."targetX-psa-vendor1" or "targetY-psa-vendor2".
string space = 3;
com.google.protobuf.ByteString getSpaceBytes()
Target and architecture specific space to which this error belongs. We encourage using triplet: <target>-<arch>-<vendor>, e.g."targetX-psa-vendor1" or "targetY-psa-vendor2".
string space = 3;
int getCode()
Numeric code drawn from target-specific error space above.
int32 code = 4;
boolean hasDetails()
Optional: Allows reporting back additional target-specific details on the error.
.google.protobuf.Any details = 5;
com.google.protobuf.Any getDetails()
Optional: Allows reporting back additional target-specific details on the error.
.google.protobuf.Any details = 5;
com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()
Optional: Allows reporting back additional target-specific details on the error.
.google.protobuf.Any details = 5;
Copyright © 2018 OpenDaylight. All rights reserved.