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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.RegexExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataQualityRule.RegexExpectation build()
buildPartial()
public DataQualityRule.RegexExpectation buildPartial()
clear()
public DataQualityRule.RegexExpectation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataQualityRule.RegexExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataQualityRule.RegexExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRegex()
public DataQualityRule.RegexExpectation.Builder clearRegex()
Optional. A regular expression the column value is expected to match.
string regex = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public DataQualityRule.RegexExpectation.Builder clone()
Overrides
getDefaultInstanceForType()
public DataQualityRule.RegexExpectation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRegex()
Optional. A regular expression the column value is expected to match.
string regex = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The regex.
|
getRegexBytes()
public ByteString getRegexBytes()
Optional. A regular expression the column value is expected to match.
string regex = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for regex.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataQualityRule.RegexExpectation other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(DataQualityRule.RegexExpectation other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.RegexExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRegex(String value)
public DataQualityRule.RegexExpectation.Builder setRegex(String value)
Optional. A regular expression the column value is expected to match.
string regex = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The regex to set.
|
setRegexBytes(ByteString value)
public DataQualityRule.RegexExpectation.Builder setRegexBytes(ByteString value)
Optional. A regular expression the column value is expected to match.
string regex = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for regex to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataQualityRule.RegexExpectation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides