public interface ErrorOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsDetails(String key)
public abstract boolean containsDetails(String key)Additional information about the error.
map<string, string> details = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDetails()
public abstract Map<String,String> getDetails()Use #getDetailsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDetailsCount()
public abstract int getDetailsCount()Additional information about the error.
map<string, string> details = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDetailsMap()
public abstract Map<String,String> getDetailsMap()Additional information about the error.
map<string, string> details = 5;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDetailsOrDefault(String key, String defaultValue)
public abstract String getDetailsOrDefault(String key, String defaultValue)Additional information about the error.
map<string, string> details = 5;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDetailsOrThrow(String key)
public abstract String getDetailsOrThrow(String key)Additional information about the error.
map<string, string> details = 5;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getErrorTime()
public abstract Timestamp getErrorTime()The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The errorTime. |
getErrorTimeOrBuilder()
public abstract TimestampOrBuilder getErrorTimeOrBuilder()The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getErrorUuid()
public abstract String getErrorUuid()A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The errorUuid. |
getErrorUuidBytes()
public abstract ByteString getErrorUuidBytes()A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
string error_uuid = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorUuid. |
getMessage()
public abstract String getMessage()A message containing more information about the error that occurred.
string message = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public abstract ByteString getMessageBytes()A message containing more information about the error that occurred.
string message = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getReason()
public abstract String getReason()A title that explains the reason for the error.
string reason = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The reason. |
getReasonBytes()
public abstract ByteString getReasonBytes()A title that explains the reason for the error.
string reason = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reason. |
hasErrorTime()
public abstract boolean hasErrorTime()The time when the error occurred.
.google.protobuf.Timestamp error_time = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorTime field is set. |