Class DataQualityRule.RegexExpectation.Builder (1.44.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
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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataQualityRule.RegexExpectation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataQualityRule.RegexExpectation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualityRule.RegexExpectation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataQualityRule.RegexExpectation.Builder
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];

Returns
Type Description
DataQualityRule.RegexExpectation.Builder

This builder for chaining.

clone()

public DataQualityRule.RegexExpectation.Builder clone()
Returns
Type Description
DataQualityRule.RegexExpectation.Builder
Overrides

getDefaultInstanceForType()

public DataQualityRule.RegexExpectation getDefaultInstanceForType()
Returns
Type Description
DataQualityRule.RegexExpectation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRegex()

public String 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RegexExpectation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityRule.RegexExpectation.Builder
Overrides

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
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.

Returns
Type Description
DataQualityRule.RegexExpectation.Builder

This builder for chaining.

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.

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualityRule.RegexExpectation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualityRule.RegexExpectation.Builder
Overrides