Interface CustomMetadataOrBuilder (1.51.0)

public interface CustomMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsValues(String key)

public abstract boolean containsValues(String key)

Output only. Key-value pairs provided by the user-defined operation.

map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getValues() (deprecated)

public abstract Map<String,String> getValues()

Use #getValuesMap() instead.

Returns
Type Description
Map<String,String>

getValuesCount()

public abstract int getValuesCount()

Output only. Key-value pairs provided by the user-defined operation.

map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getValuesMap()

public abstract Map<String,String> getValuesMap()

Output only. Key-value pairs provided by the user-defined operation.

map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getValuesOrDefault(String key, String defaultValue)

public abstract String getValuesOrDefault(String key, String defaultValue)

Output only. Key-value pairs provided by the user-defined operation.

map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getValuesOrThrow(String key)

public abstract String getValuesOrThrow(String key)

Output only. Key-value pairs provided by the user-defined operation.

map<string, string> values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String