Interface ErrorDetailsOrBuilder (2.49.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
Name Description
key String
Returns
Type Description
boolean

getDetails() (deprecated)

public abstract Map<String,String> getDetails()

Use #getDetailsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String