public static final class DataValidationAction.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataValidationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataValidationAction build()
Returns
buildPartial()
public DataValidationAction buildPartial()
Returns
clear()
public DataValidationAction.Builder clear()
Returns
Overrides
clearConditions()
public DataValidationAction.Builder clearConditions()
Returns
clearField(Descriptors.FieldDescriptor field)
public DataValidationAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataValidationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DataValidationAction.Builder clone()
Returns
Overrides
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
Returns
getConditions()
public Map<String,String> getConditions()
Returns
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
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;
Returns
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;
Parameters
Returns
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
Returns
getDefaultInstanceForType()
public DataValidationAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableConditions()
public Map<String,String> getMutableConditions()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataValidationAction other)
public DataValidationAction.Builder mergeFrom(DataValidationAction other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataValidationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataValidationAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataValidationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataValidationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataValidationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataValidationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides