public static final class DataValidationAction.Builder extends GeneratedMessage.Builder<DataValidationAction.Builder> implements DataValidationActionOrBuilder
Represents the action responsible for data validation operations.
Protobuf type google.cloud.contentwarehouse.v1.DataValidationAction
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public DataValidationAction build()
buildPartial()
public DataValidationAction buildPartial()
clear()
public DataValidationAction.Builder clear()
Overrides
clearConditions()
public DataValidationAction.Builder clearConditions()
containsConditions(String key)
public 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
|
getConditions() (deprecated)
public Map<String,String> getConditions()
getConditionsCount()
public 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 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;
getConditionsOrDefault(String key, String defaultValue)
public 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;
| Returns |
| Type |
Description |
String |
|
getConditionsOrThrow(String key)
public 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 |
|
getDefaultInstanceForType()
public DataValidationAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableConditions() (deprecated)
public Map<String,String> getMutableConditions()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataValidationAction other)
public DataValidationAction.Builder mergeFrom(DataValidationAction other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataValidationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataValidationAction.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllConditions(Map<String,String> values)
public DataValidationAction.Builder putAllConditions(Map<String,String> values)
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;
putConditions(String key, String value)
public DataValidationAction.Builder putConditions(String key, String value)
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;
removeConditions(String key)
public DataValidationAction.Builder removeConditions(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
|