Class DataQualityRule.RegexExpectation.Builder (1.16.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RegexExpectation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

build()

public DataQualityRule.RegexExpectation build()
Returns
TypeDescription
DataQualityRule.RegexExpectation

buildPartial()

public DataQualityRule.RegexExpectation buildPartial()
Returns
TypeDescription
DataQualityRule.RegexExpectation

clear()

public DataQualityRule.RegexExpectation.Builder clear()
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataQualityRule.RegexExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityRule.RegexExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

clearRegex()

public DataQualityRule.RegexExpectation.Builder clearRegex()

A regular expression the column value is expected to match.

string regex = 1;

Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder

This builder for chaining.

clone()

public DataQualityRule.RegexExpectation.Builder clone()
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

getDefaultInstanceForType()

public DataQualityRule.RegexExpectation getDefaultInstanceForType()
Returns
TypeDescription
DataQualityRule.RegexExpectation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRegex()

public String getRegex()

A regular expression the column value is expected to match.

string regex = 1;

Returns
TypeDescription
String

The regex.

getRegexBytes()

public ByteString getRegexBytes()

A regular expression the column value is expected to match.

string regex = 1;

Returns
TypeDescription
ByteString

The bytes for regex.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualityRule.RegexExpectation other)

public DataQualityRule.RegexExpectation.Builder mergeFrom(DataQualityRule.RegexExpectation other)
Parameter
NameDescription
otherDataQualityRule.RegexExpectation
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataQualityRule.RegexExpectation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataQualityRule.RegexExpectation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RegexExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualityRule.RegexExpectation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

setRegex(String value)

public DataQualityRule.RegexExpectation.Builder setRegex(String value)

A regular expression the column value is expected to match.

string regex = 1;

Parameter
NameDescription
valueString

The regex to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for regex to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RegexExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualityRule.RegexExpectation.Builder
Overrides