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
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
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataQualityRuleTemplate.Builder newBuilder()
newBuilder(DataQualityRuleTemplate prototype)
public static DataQualityRuleTemplate.Builder newBuilder(DataQualityRuleTemplate prototype)
public static DataQualityRuleTemplate parseDelimitedFrom(InputStream input)
public static DataQualityRuleTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataQualityRuleTemplate parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataQualityRuleTemplate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleTemplate parseFrom(CodedInputStream input)
public static DataQualityRuleTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleTemplate parseFrom(InputStream input)
public static DataQualityRuleTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataQualityRuleTemplate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRuleTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataQualityRuleTemplate> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
getDefaultInstanceForType()
public DataQualityRuleTemplate getDefaultInstanceForType()
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.
|
public Map<String,DataQualityRuleTemplate.ParameterDescription> getInputParameters()
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 |
|
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];
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];
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
|
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()
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
|
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];
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
|
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()
| 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 DataQualityRuleTemplate.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataQualityRuleTemplate.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataQualityRuleTemplate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides