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

getEntries() (deprecated)

public abstract Map<String,String> getEntries()

Use #getEntriesMap() instead.

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