Class DataQualityRule.RowConditionExpectation (1.9.0)

public static final class DataQualityRule.RowConditionExpectation extends GeneratedMessageV3 implements DataQualityRule.RowConditionExpectationOrBuilder

Evaluates whether each row passes the specified condition. The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean per row as the result. Example: col1 >= 0 AND col2 < 10

Protobuf type google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataQualityRule.RowConditionExpectation

Static Fields

SQL_EXPRESSION_FIELD_NUMBER

public static final int SQL_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataQualityRule.RowConditionExpectation getDefaultInstance()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation

getDescriptor()

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

newBuilder()

public static DataQualityRule.RowConditionExpectation.Builder newBuilder()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

newBuilder(DataQualityRule.RowConditionExpectation prototype)

public static DataQualityRule.RowConditionExpectation.Builder newBuilder(DataQualityRule.RowConditionExpectation prototype)
Parameter
NameDescription
prototypeDataQualityRule.RowConditionExpectation
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

parseDelimitedFrom(InputStream input)

public static DataQualityRule.RowConditionExpectation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataQualityRule.RowConditionExpectation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataQualityRule.RowConditionExpectation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataQualityRule.RowConditionExpectation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataQualityRule.RowConditionExpectation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataQualityRule.RowConditionExpectation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RowConditionExpectation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RowConditionExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DataQualityRule.RowConditionExpectation> parser()
Returns
TypeDescription
Parser<RowConditionExpectation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<DataQualityRule.RowConditionExpectation> getParserForType()
Returns
TypeDescription
Parser<RowConditionExpectation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSqlExpression()

public String getSqlExpression()

string sql_expression = 1;

Returns
TypeDescription
String

The sqlExpression.

getSqlExpressionBytes()

public ByteString getSqlExpressionBytes()

string sql_expression = 1;

Returns
TypeDescription
ByteString

The bytes for sqlExpression.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataQualityRule.RowConditionExpectation.Builder newBuilderForType()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataQualityRule.RowConditionExpectation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataQualityRule.RowConditionExpectation.Builder toBuilder()
Returns
TypeDescription
DataQualityRule.RowConditionExpectation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException