Interface DataUpdateActionOrBuilder (0.33.0)

public interface DataUpdateActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsEntries(String key)

public abstract boolean containsEntries(String key)

Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.

map<string, string> entries = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getEntries() (deprecated)

public abstract Map<String,String> getEntries()

Use #getEntriesMap() instead.

Returns
TypeDescription
Map<String,String>

getEntriesCount()

public abstract int getEntriesCount()

Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.

map<string, string> entries = 1;

Returns
TypeDescription
int

getEntriesMap()

public abstract Map<String,String> getEntriesMap()

Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.

map<string, string> entries = 1;

Returns
TypeDescription
Map<String,String>

getEntriesOrDefault(String key, String defaultValue)

public abstract String getEntriesOrDefault(String key, String defaultValue)

Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.

map<string, string> entries = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getEntriesOrThrow(String key)

public abstract String getEntriesOrThrow(String key)

Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types.

map<string, string> entries = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String