Interface MapPropertyOrBuilder (0.37.0)

public interface MapPropertyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFields(String key)

public abstract boolean containsFields(String key)

Unordered map of dynamically typed values.

map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getFields() (deprecated)

public abstract Map<String,Value> getFields()

Use #getFieldsMap() instead.

Returns
TypeDescription
Map<String,Value>

getFieldsCount()

public abstract int getFieldsCount()

Unordered map of dynamically typed values.

map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;

Returns
TypeDescription
int

getFieldsMap()

public abstract Map<String,Value> getFieldsMap()

Unordered map of dynamically typed values.

map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;

Returns
TypeDescription
Map<String,Value>

getFieldsOrDefault(String key, Value defaultValue)

public abstract Value getFieldsOrDefault(String key, Value defaultValue)

Unordered map of dynamically typed values.

map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;

Parameters
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
Value

getFieldsOrThrow(String key)

public abstract Value getFieldsOrThrow(String key)

Unordered map of dynamically typed values.

map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
Value