public interface StatusOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The status code, which should be an enum value of
[google.rpc.Code][google.rpc.Code].
|
Any |
getDetails(int index)
A list of messages that carry the error details.
|
int |
getDetailsCount()
A list of messages that carry the error details.
|
java.util.List<Any> |
getDetailsList()
A list of messages that carry the error details.
|
AnyOrBuilder |
getDetailsOrBuilder(int index)
A list of messages that carry the error details.
|
java.util.List<? extends AnyOrBuilder> |
getDetailsOrBuilderList()
A list of messages that carry the error details.
|
java.lang.String |
getMessage()
A developer-facing error message, which should be in English.
|
ByteString |
getMessageBytes()
A developer-facing error message, which should be in English.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getCode()
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
int32 code = 1;
java.lang.String getMessage()
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
string message = 2;
ByteString getMessageBytes()
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
string message = 2;
java.util.List<Any> getDetailsList()
A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 3;
Any getDetails(int index)
A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 3;
int getDetailsCount()
A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 3;
java.util.List<? extends AnyOrBuilder> getDetailsOrBuilderList()
A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 3;
AnyOrBuilder getDetailsOrBuilder(int index)
A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 3;