public static final class DataQualityRule.TemplateReference extends GeneratedMessage implements DataQualityRule.TemplateReferenceOrBuilder
A rule that constructs a SQL statement to evaluate using a rule template
and parameter values. If the constructed statement returns any rows, this
rule fails
Protobuf type google.cloud.dataplex.v1.DataQualityRule.TemplateReference
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOLVED_SQL_FIELD_NUMBER
public static final int RESOLVED_SQL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULE_TEMPLATE_FIELD_NUMBER
public static final int RULE_TEMPLATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataQualityRule.TemplateReference getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataQualityRule.TemplateReference.Builder newBuilder()
newBuilder(DataQualityRule.TemplateReference prototype)
public static DataQualityRule.TemplateReference.Builder newBuilder(DataQualityRule.TemplateReference prototype)
public static DataQualityRule.TemplateReference parseDelimitedFrom(InputStream input)
public static DataQualityRule.TemplateReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataQualityRule.TemplateReference parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.TemplateReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataQualityRule.TemplateReference parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.TemplateReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.TemplateReference parseFrom(CodedInputStream input)
public static DataQualityRule.TemplateReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.TemplateReference parseFrom(InputStream input)
public static DataQualityRule.TemplateReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataQualityRule.TemplateReference parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.TemplateReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataQualityRule.TemplateReference> parser()
Methods
containsValues(String key)
public 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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataQualityRule.TemplateReference getDefaultInstanceForType()
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 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.
|
getParserForType()
public Parser<DataQualityRule.TemplateReference> getParserForType()
Overrides
getResolvedSql()
public 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 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 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];
getRuleTemplateOrBuilder()
public 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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getValues() (deprecated)
public Map<String,DataQualityRule.TemplateReference.ParameterValue> getValues()
getValuesCount()
public 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 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];
getValuesOrDefault(String key, DataQualityRule.TemplateReference.ParameterValue defaultValue)
public 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];
getValuesOrThrow(String key)
public 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
|
hasRuleTemplate()
public 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public DataQualityRule.TemplateReference.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataQualityRule.TemplateReference.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataQualityRule.TemplateReference.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides