Interface DataValidationActionOrBuilder (0.32.0)

public interface DataValidationActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsConditions(String key)

public abstract boolean containsConditions(String key)

Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.

map<string, string> conditions = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConditions() (deprecated)

public abstract Map<String,String> getConditions()

Use #getConditionsMap() instead.

Returns
TypeDescription
Map<String,String>

getConditionsCount()

public abstract int getConditionsCount()

Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.

map<string, string> conditions = 1;

Returns
TypeDescription
int

getConditionsMap()

public abstract Map<String,String> getConditionsMap()

Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.

map<string, string> conditions = 1;

Returns
TypeDescription
Map<String,String>

getConditionsOrDefault(String key, String defaultValue)

public abstract String getConditionsOrDefault(String key, String defaultValue)

Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.

map<string, string> conditions = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getConditionsOrThrow(String key)

public abstract String getConditionsOrThrow(String key)

Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation.

map<string, string> conditions = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String