Interface ErrorDetailsOrBuilder (2.35.0)

public interface ErrorDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDetails(String key)

public abstract boolean containsDetails(String key)

Additional structured details about this error.

Keys define the failure items. Value describes the exception or details of the item.

map<string, string> details = 1;

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 structured details about this error.

Keys define the failure items. Value describes the exception or details of the item.

map<string, string> details = 1;

Returns
TypeDescription
int

getDetailsMap()

public abstract Map<String,String> getDetailsMap()

Additional structured details about this error.

Keys define the failure items. Value describes the exception or details of the item.

map<string, string> details = 1;

Returns
TypeDescription
Map<String,String>

getDetailsOrDefault(String key, String defaultValue)

public abstract String getDetailsOrDefault(String key, String defaultValue)

Additional structured details about this error.

Keys define the failure items. Value describes the exception or details of the item.

map<string, string> details = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDetailsOrThrow(String key)

public abstract String getDetailsOrThrow(String key)

Additional structured details about this error.

Keys define the failure items. Value describes the exception or details of the item.

map<string, string> details = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String