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

getConditions() (deprecated)

public abstract Map<String,String> getConditions()

Use #getConditionsMap() instead.

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