Interface DataQualityRule.TemplateReferenceOrBuilder (1.91.0)

public static interface DataQualityRule.TemplateReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsValues(String key)

public abstract boolean containsValues(String key)

Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).

map<string, .google.cloud.dataplex.v1.DataQualityRule.TemplateReference.ParameterValue> values = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getName()

public abstract String getName()

Required. The template entry name. Entry must be of EntryType projects/dataplex-types/locations/global/entryTypes/data-quality-rule-template and contains top-level aspect of AspectType projects/dataplex-types/locations/global/aspectTypes/data-quality-rule-template. The format is: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The template entry name. Entry must be of EntryType projects/dataplex-types/locations/global/entryTypes/data-quality-rule-template and contains top-level aspect of AspectType projects/dataplex-types/locations/global/aspectTypes/data-quality-rule-template. The format is: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getResolvedSql()

public abstract String getResolvedSql()

Output only. The resolved SQL statement generated from the template with parameters substituted. It is only populated in the result.

string resolved_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resolvedSql.

getResolvedSqlBytes()

public abstract ByteString getResolvedSqlBytes()

Output only. The resolved SQL statement generated from the template with parameters substituted. It is only populated in the result.

string resolved_sql = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resolvedSql.

getRuleTemplate()

public abstract DataQualityRuleTemplate getRuleTemplate()

Output only. The rule template used to resolve the rule. It is only populated in the result.

.google.cloud.dataplex.v1.DataQualityRuleTemplate rule_template = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityRuleTemplate

The ruleTemplate.

getRuleTemplateOrBuilder()

public abstract DataQualityRuleTemplateOrBuilder getRuleTemplateOrBuilder()

Output only. The rule template used to resolve the rule. It is only populated in the result.

.google.cloud.dataplex.v1.DataQualityRuleTemplate rule_template = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityRuleTemplateOrBuilder

getValues() (deprecated)

public abstract Map<String,DataQualityRule.TemplateReference.ParameterValue> getValues()

Use #getValuesMap() instead.

Returns
Type Description
Map<String,ParameterValue>

getValuesCount()

public abstract int getValuesCount()

Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).

map<string, .google.cloud.dataplex.v1.DataQualityRule.TemplateReference.ParameterValue> values = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getValuesMap()

public abstract Map<String,DataQualityRule.TemplateReference.ParameterValue> getValuesMap()

Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).

map<string, .google.cloud.dataplex.v1.DataQualityRule.TemplateReference.ParameterValue> values = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,ParameterValue>

getValuesOrDefault(String key, DataQualityRule.TemplateReference.ParameterValue defaultValue)

public abstract DataQualityRule.TemplateReference.ParameterValue getValuesOrDefault(String key, DataQualityRule.TemplateReference.ParameterValue defaultValue)

Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).

map<string, .google.cloud.dataplex.v1.DataQualityRule.TemplateReference.ParameterValue> values = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue DataQualityRule.TemplateReference.ParameterValue
Returns
Type Description
DataQualityRule.TemplateReference.ParameterValue

getValuesOrThrow(String key)

public abstract DataQualityRule.TemplateReference.ParameterValue getValuesOrThrow(String key)

Optional. Provides the map of parameter name and value. The maximum size of the field is 120KB (encoded as UTF-8).

map<string, .google.cloud.dataplex.v1.DataQualityRule.TemplateReference.ParameterValue> values = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
DataQualityRule.TemplateReference.ParameterValue

hasRuleTemplate()

public abstract boolean hasRuleTemplate()

Output only. The rule template used to resolve the rule. It is only populated in the result.

.google.cloud.dataplex.v1.DataQualityRuleTemplate rule_template = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the ruleTemplate field is set.