Class DataQualityRuleTemplate (1.91.0)

public final class DataQualityRuleTemplate extends GeneratedMessage implements DataQualityRuleTemplateOrBuilder

DataQualityRuleTemplate represents a template which can be reused across multiple data quality rules.

Protobuf type google.cloud.dataplex.v1.DataQualityRuleTemplate

Static Fields

CAPABILITIES_FIELD_NUMBER

public static final int CAPABILITIES_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_FIELD_NUMBER

public static final int DIMENSION_FIELD_NUMBER
Field Value
Type Description
int

INPUT_PARAMETERS_FIELD_NUMBER

public static final int INPUT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SQL_COLLECTION_FIELD_NUMBER

public static final int SQL_COLLECTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataQualityRuleTemplate getDefaultInstance()
Returns
Type Description
DataQualityRuleTemplate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataQualityRuleTemplate.Builder newBuilder()
Returns
Type Description
DataQualityRuleTemplate.Builder

newBuilder(DataQualityRuleTemplate prototype)

public static DataQualityRuleTemplate.Builder newBuilder(DataQualityRuleTemplate prototype)
Parameter
Name Description
prototype DataQualityRuleTemplate
Returns
Type Description
DataQualityRuleTemplate.Builder

parseDelimitedFrom(InputStream input)

public static DataQualityRuleTemplate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataQualityRuleTemplate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataQualityRuleTemplate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataQualityRuleTemplate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataQualityRuleTemplate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataQualityRuleTemplate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRuleTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRuleTemplate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataQualityRuleTemplate> parser()
Returns
Type Description
Parser<DataQualityRuleTemplate>

Methods

containsInputParameters(String key)

public boolean containsInputParameters(String key)

Output only. Description for input parameters

map<string, .google.cloud.dataplex.v1.DataQualityRuleTemplate.ParameterDescription> input_parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCapabilities(int index)

public String getCapabilities(int index)

Output only. A list of features or properties supported by this rule template.

repeated string capabilities = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The capabilities at the given index.

getCapabilitiesBytes(int index)

public ByteString getCapabilitiesBytes(int index)

Output only. A list of features or properties supported by this rule template.

repeated string capabilities = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the capabilities at the given index.

getCapabilitiesCount()

public int getCapabilitiesCount()

Output only. A list of features or properties supported by this rule template.

repeated string capabilities = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of capabilities.

getCapabilitiesList()

public ProtocolStringList getCapabilitiesList()

Output only. A list of features or properties supported by this rule template.

repeated string capabilities = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the capabilities.

getDefaultInstanceForType()

public DataQualityRuleTemplate getDefaultInstanceForType()
Returns
Type Description
DataQualityRuleTemplate

getDimension()

public String getDimension()

Output only. The dimension a rule template belongs to. Rule level results are also aggregated at the dimension level.

string dimension = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dimension.

getDimensionBytes()

public ByteString getDimensionBytes()

Output only. The dimension a rule template belongs to. Rule level results are also aggregated at the dimension level.

string dimension = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dimension.

getInputParameters() (deprecated)

public Map<String,DataQualityRuleTemplate.ParameterDescription> getInputParameters()
Returns
Type Description
Map<String,ParameterDescription>

getInputParametersCount()

public int getInputParametersCount()

Output only. Description for input parameters

map<string, .google.cloud.dataplex.v1.DataQualityRuleTemplate.ParameterDescription> input_parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getInputParametersMap()

public Map<String,DataQualityRuleTemplate.ParameterDescription> getInputParametersMap()

Output only. Description for input parameters

map<string, .google.cloud.dataplex.v1.DataQualityRuleTemplate.ParameterDescription> input_parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,ParameterDescription>

getInputParametersOrDefault(String key, DataQualityRuleTemplate.ParameterDescription defaultValue)

public DataQualityRuleTemplate.ParameterDescription getInputParametersOrDefault(String key, DataQualityRuleTemplate.ParameterDescription defaultValue)

Output only. Description for input parameters

map<string, .google.cloud.dataplex.v1.DataQualityRuleTemplate.ParameterDescription> input_parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue DataQualityRuleTemplate.ParameterDescription
Returns
Type Description
DataQualityRuleTemplate.ParameterDescription

getInputParametersOrThrow(String key)

public DataQualityRuleTemplate.ParameterDescription getInputParametersOrThrow(String key)

Output only. Description for input parameters

map<string, .google.cloud.dataplex.v1.DataQualityRuleTemplate.ParameterDescription> input_parameters = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
DataQualityRuleTemplate.ParameterDescription

getName()

public String getName()

Output only. The name of the rule template in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the rule template in the format: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<DataQualityRuleTemplate> getParserForType()
Returns
Type Description
Parser<DataQualityRuleTemplate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSqlCollection(int index)

public DataQualityRuleTemplate.Sql getSqlCollection(int index)

Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported.

repeated .google.cloud.dataplex.v1.DataQualityRuleTemplate.Sql sql_collection = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleTemplate.Sql

getSqlCollectionCount()

public int getSqlCollectionCount()

Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported.

repeated .google.cloud.dataplex.v1.DataQualityRuleTemplate.Sql sql_collection = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSqlCollectionList()

public List<DataQualityRuleTemplate.Sql> getSqlCollectionList()

Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported.

repeated .google.cloud.dataplex.v1.DataQualityRuleTemplate.Sql sql_collection = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Sql>

getSqlCollectionOrBuilder(int index)

public DataQualityRuleTemplate.SqlOrBuilder getSqlCollectionOrBuilder(int index)

Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported.

repeated .google.cloud.dataplex.v1.DataQualityRuleTemplate.Sql sql_collection = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DataQualityRuleTemplate.SqlOrBuilder

getSqlCollectionOrBuilderList()

public List<? extends DataQualityRuleTemplate.SqlOrBuilder> getSqlCollectionOrBuilderList()

Output only. Collection of SQLs for data quality rules. Currently only one SQL is supported.

repeated .google.cloud.dataplex.v1.DataQualityRuleTemplate.Sql sql_collection = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.DataQualityRuleTemplate.SqlOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataQualityRuleTemplate.Builder newBuilderForType()
Returns
Type Description
DataQualityRuleTemplate.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DataQualityRuleTemplate.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataQualityRuleTemplate.Builder
Overrides

toBuilder()

public DataQualityRuleTemplate.Builder toBuilder()
Returns
Type Description
DataQualityRuleTemplate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException