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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataValidationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataValidationAction build()
buildPartial()
public DataValidationAction buildPartial()
clear()
public DataValidationAction.Builder clear()
Overrides
clearConditions()
public DataValidationAction.Builder clearConditions()
clearField(Descriptors.FieldDescriptor field)
public DataValidationAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataValidationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DataValidationAction.Builder clone()
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 |
---|
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;
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
|
getDefaultInstanceForType()
public DataValidationAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableConditions() (deprecated)
public Map<String,String> getMutableConditions()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataValidationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataValidationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataValidationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataValidationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides