public static final class DataQualityRule.RegexExpectation.Builder extends GeneratedMessageV3.Builder<DataQualityRule.RegexExpectation.Builder> implements DataQualityRule.RegexExpectationOrBuilder
Evaluates whether each column value matches a specified regex.
Protobuf type google.cloud.dataplex.v1.DataQualityRule.RegexExpectation
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 DataQualityRule.RegexExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataQualityRule.RegexExpectation build()
Returns
buildPartial()
public DataQualityRule.RegexExpectation buildPartial()
Returns
clear()
public DataQualityRule.RegexExpectation.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataQualityRule.RegexExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataQualityRule.RegexExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRegex()
public DataQualityRule.RegexExpectation.Builder clearRegex()
Returns
clone()
public DataQualityRule.RegexExpectation.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DataQualityRule.RegexExpectation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRegex()
Returns
Type | Description |
String | The regex.
|
getRegexBytes()
public ByteString getRegexBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataQualityRule.RegexExpectation other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(DataQualityRule.RegexExpectation other)
Parameter
Returns
public DataQualityRule.RegexExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.RegexExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRegex(String value)
public DataQualityRule.RegexExpectation.Builder setRegex(String value)
Parameter
Name | Description |
value | String
The regex to set.
|
Returns
setRegexBytes(ByteString value)
public DataQualityRule.RegexExpectation.Builder setRegexBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for regex to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataQualityRule.RegexExpectation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides