Interface ErrorOrBuilder (1.40.0)

public interface ErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDetails(String key)

public abstract boolean containsDetails(String key)

Additional information about the error.

map<string, string> details = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDetails() (deprecated)

public abstract Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
TypeDescription
Map<String,String>

getDetailsCount()

public abstract int getDetailsCount()

Additional information about the error.

map<string, string> details = 5;

Returns
TypeDescription
int

getDetailsMap()

public abstract Map<String,String> getDetailsMap()

Additional information about the error.

map<string, string> details = 5;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDetailsOrThrow(String key)

public abstract String getDetailsOrThrow(String key)

Additional information about the error.

map<string, string> details = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getErrorTime()

public abstract Timestamp getErrorTime()

The time when the error occurred.

.google.protobuf.Timestamp error_time = 4;

Returns
TypeDescription
Timestamp

The errorTime.

getErrorTimeOrBuilder()

public abstract TimestampOrBuilder getErrorTimeOrBuilder()

The time when the error occurred.

.google.protobuf.Timestamp error_time = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for errorUuid.

getMessage()

public abstract String getMessage()

A message containing more information about the error that occurred.

string message = 3;

Returns
TypeDescription
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

A message containing more information about the error that occurred.

string message = 3;

Returns
TypeDescription
ByteString

The bytes for message.

getReason()

public abstract String getReason()

A title that explains the reason for the error.

string reason = 1;

Returns
TypeDescription
String

The reason.

getReasonBytes()

public abstract ByteString getReasonBytes()

A title that explains the reason for the error.

string reason = 1;

Returns
TypeDescription
ByteString

The bytes for reason.

hasErrorTime()

public abstract boolean hasErrorTime()

The time when the error occurred.

.google.protobuf.Timestamp error_time = 4;

Returns
TypeDescription
boolean

Whether the errorTime field is set.