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.events.cloud.dataplex.v1.DataQualityRule.RegexExpectation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataQualityRule.RegexExpectation.BuilderImplements
DataQualityRule.RegexExpectationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.RegexExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
build()
public DataQualityRule.RegexExpectation build()
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation |
buildPartial()
public DataQualityRule.RegexExpectation buildPartial()
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation |
clear()
public DataQualityRule.RegexExpectation.Builder clear()
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
clearField(Descriptors.FieldDescriptor field)
public DataQualityRule.RegexExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataQualityRule.RegexExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
clearRegex()
public DataQualityRule.RegexExpectation.Builder clearRegex()
A regular expression the column value is expected to match.
string regex = 1;
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder | This builder for chaining. |
clone()
public DataQualityRule.RegexExpectation.Builder clone()
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
getDefaultInstanceForType()
public DataQualityRule.RegexExpectation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRegex()
public String getRegex()
A regular expression the column value is expected to match.
string regex = 1;
Returns | |
---|---|
Type | Description |
String | The regex. |
getRegexBytes()
public ByteString getRegexBytes()
A regular expression the column value is expected to match.
string regex = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for regex. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataQualityRule.RegexExpectation other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(DataQualityRule.RegexExpectation other)
Parameter | |
---|---|
Name | Description |
other | DataQualityRule.RegexExpectation |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataQualityRule.RegexExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataQualityRule.RegexExpectation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DataQualityRule.RegexExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
setRegex(String value)
public DataQualityRule.RegexExpectation.Builder setRegex(String value)
A regular expression the column value is expected to match.
string regex = 1;
Parameter | |
---|---|
Name | Description |
value | String The regex to set. |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder | This builder for chaining. |
setRegexBytes(ByteString value)
public DataQualityRule.RegexExpectation.Builder setRegexBytes(ByteString value)
A regular expression the column value is expected to match.
string regex = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for regex to set. |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataQualityRule.RegexExpectation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataQualityRule.RegexExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataQualityRule.RegexExpectation.Builder |