Package io.grpc.reflection.v1alpha
Interface ErrorResponseOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
ErrorResponse
,ErrorResponse.Builder
public interface ErrorResponseOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getErrorCode()
This field uses the error codes defined in grpc::StatusCode.String
getErrorMessage()
string error_message = 2;
ByteString
getErrorMessageBytes()
string error_message = 2;
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getErrorCode
int getErrorCode()
This field uses the error codes defined in grpc::StatusCode.
int32 error_code = 1;
- Returns:
- The errorCode.
-
getErrorMessage
String getErrorMessage()
string error_message = 2;
- Returns:
- The errorMessage.
-
getErrorMessageBytes
ByteString getErrorMessageBytes()
string error_message = 2;
- Returns:
- The bytes for errorMessage.
-
-