Package com.google.cloud.dataplex.v1
Class DataProfileSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.DataProfileSpec
- All Implemented Interfaces:
DataProfileSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DataProfileSpec
extends com.google.protobuf.GeneratedMessage
implements DataProfileSpecOrBuilder
DataProfileScan related setting.Protobuf type
google.cloud.dataplex.v1.DataProfileSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDataProfileScan related setting.static final classThe configuration of post scan actions of DataProfileScan job.static interfacestatic final classThe specification for fields to include or exclude in data profile scan.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanOptional.static DataProfileSpecstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.com.google.protobuf.Parser<DataProfileSpec>Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.floatOptional.intbooleanOptional.inthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataProfileSpec.Builderstatic DataProfileSpec.BuildernewBuilder(DataProfileSpec prototype) protected DataProfileSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataProfileSpecparseDelimitedFrom(InputStream input) static DataProfileSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileSpecparseFrom(byte[] data) static DataProfileSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileSpecparseFrom(com.google.protobuf.ByteString data) static DataProfileSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileSpecparseFrom(com.google.protobuf.CodedInputStream input) static DataProfileSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileSpecparseFrom(InputStream input) static DataProfileSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataProfileSpecparseFrom(ByteBuffer data) static DataProfileSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataProfileSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SAMPLING_PERCENT_FIELD_NUMBER
public static final int SAMPLING_PERCENT_FIELD_NUMBER- See Also:
-
ROW_FILTER_FIELD_NUMBER
public static final int ROW_FILTER_FIELD_NUMBER- See Also:
-
POST_SCAN_ACTIONS_FIELD_NUMBER
public static final int POST_SCAN_ACTIONS_FIELD_NUMBER- See Also:
-
INCLUDE_FIELDS_FIELD_NUMBER
public static final int INCLUDE_FIELDS_FIELD_NUMBER- See Also:
-
EXCLUDE_FIELDS_FIELD_NUMBER
public static final int EXCLUDE_FIELDS_FIELD_NUMBER- See Also:
-
CATALOG_PUBLISHING_ENABLED_FIELD_NUMBER
public static final int CATALOG_PUBLISHING_ENABLED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSamplingPercent
public float getSamplingPercent()Optional. The percentage of the records to be selected from the dataset for DataScan. * Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. * Sampling is not applied if `sampling_percent` is not specified, 0 or 100.
float sampling_percent = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSamplingPercentin interfaceDataProfileSpecOrBuilder- Returns:
- The samplingPercent.
-
getRowFilter
Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRowFilterin interfaceDataProfileSpecOrBuilder- Returns:
- The rowFilter.
-
getRowFilterBytes
public com.google.protobuf.ByteString getRowFilterBytes()Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10
string row_filter = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRowFilterBytesin interfaceDataProfileSpecOrBuilder- Returns:
- The bytes for rowFilter.
-
hasPostScanActions
public boolean hasPostScanActions()Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPostScanActionsin interfaceDataProfileSpecOrBuilder- Returns:
- Whether the postScanActions field is set.
-
getPostScanActions
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPostScanActionsin interfaceDataProfileSpecOrBuilder- Returns:
- The postScanActions.
-
getPostScanActionsOrBuilder
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPostScanActionsOrBuilderin interfaceDataProfileSpecOrBuilder
-
hasIncludeFields
public boolean hasIncludeFields()Optional. The fields to include in data profile. If not specified, all fields at the time of profile scan job execution are included, except for ones listed in `exclude_fields`.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasIncludeFieldsin interfaceDataProfileSpecOrBuilder- Returns:
- Whether the includeFields field is set.
-
getIncludeFields
Optional. The fields to include in data profile. If not specified, all fields at the time of profile scan job execution are included, except for ones listed in `exclude_fields`.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeFieldsin interfaceDataProfileSpecOrBuilder- Returns:
- The includeFields.
-
getIncludeFieldsOrBuilder
Optional. The fields to include in data profile. If not specified, all fields at the time of profile scan job execution are included, except for ones listed in `exclude_fields`.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields include_fields = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludeFieldsOrBuilderin interfaceDataProfileSpecOrBuilder
-
hasExcludeFields
public boolean hasExcludeFields()Optional. The fields to exclude from data profile. If specified, the fields will be excluded from data profile, regardless of `include_fields` value.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExcludeFieldsin interfaceDataProfileSpecOrBuilder- Returns:
- Whether the excludeFields field is set.
-
getExcludeFields
Optional. The fields to exclude from data profile. If specified, the fields will be excluded from data profile, regardless of `include_fields` value.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeFieldsin interfaceDataProfileSpecOrBuilder- Returns:
- The excludeFields.
-
getExcludeFieldsOrBuilder
Optional. The fields to exclude from data profile. If specified, the fields will be excluded from data profile, regardless of `include_fields` value.
.google.cloud.dataplex.v1.DataProfileSpec.SelectedFields exclude_fields = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludeFieldsOrBuilderin interfaceDataProfileSpecOrBuilder
-
getCatalogPublishingEnabled
public boolean getCatalogPublishingEnabled()Optional. If set, the latest DataScan job result will be published as Dataplex Universal Catalog metadata.
bool catalog_publishing_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCatalogPublishingEnabledin interfaceDataProfileSpecOrBuilder- Returns:
- The catalogPublishingEnabled.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataProfileSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataProfileSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataProfileSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataProfileSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DataProfileSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataProfileSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-