Package com.google.cloud.dataplex.v1
Class DataProfileSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
- com.google.cloud.dataplex.v1.DataProfileSpec.Builder
-
- All Implemented Interfaces:
DataProfileSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProfileSpec
public static final class DataProfileSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder> implements DataProfileSpecOrBuilder
DataProfileScan related setting.
Protobuf typegoogle.cloud.dataplex.v1.DataProfileSpec
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clear
public DataProfileSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
getDefaultInstanceForType
public DataProfileSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataProfileSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataProfileSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataProfileSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
setField
public DataProfileSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clearField
public DataProfileSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clearOneof
public DataProfileSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
setRepeatedField
public DataProfileSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
addRepeatedField
public DataProfileSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
mergeFrom
public DataProfileSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileSpec.Builder>
-
mergeFrom
public DataProfileSpec.Builder mergeFrom(DataProfileSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
mergeFrom
public DataProfileSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileSpec.Builder>- Throws:
IOException
-
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.
-
setSamplingPercent
public DataProfileSpec.Builder setSamplingPercent(float value)
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];- Parameters:
value- The samplingPercent to set.- Returns:
- This builder for chaining.
-
clearSamplingPercent
public DataProfileSpec.Builder clearSamplingPercent()
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];- Returns:
- This builder for chaining.
-
getRowFilter
public String 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.
-
setRowFilter
public DataProfileSpec.Builder setRowFilter(String value)
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];- Parameters:
value- The rowFilter to set.- Returns:
- This builder for chaining.
-
clearRowFilter
public DataProfileSpec.Builder clearRowFilter()
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];- Returns:
- This builder for chaining.
-
setRowFilterBytes
public DataProfileSpec.Builder setRowFilterBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for rowFilter to set.- Returns:
- This builder for chaining.
-
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
public DataProfileSpec.PostScanActions 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.
-
setPostScanActions
public DataProfileSpec.Builder setPostScanActions(DataProfileSpec.PostScanActions value)
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setPostScanActions
public DataProfileSpec.Builder setPostScanActions(DataProfileSpec.PostScanActions.Builder builderForValue)
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergePostScanActions
public DataProfileSpec.Builder mergePostScanActions(DataProfileSpec.PostScanActions value)
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearPostScanActions
public DataProfileSpec.Builder clearPostScanActions()
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPostScanActionsBuilder
public DataProfileSpec.PostScanActions.Builder getPostScanActionsBuilder()
Optional. Actions to take upon job completion..
.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions post_scan_actions = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPostScanActionsOrBuilder
public DataProfileSpec.PostScanActionsOrBuilder 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
public DataProfileSpec.SelectedFields 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.
-
setIncludeFields
public DataProfileSpec.Builder setIncludeFields(DataProfileSpec.SelectedFields value)
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];
-
setIncludeFields
public DataProfileSpec.Builder setIncludeFields(DataProfileSpec.SelectedFields.Builder builderForValue)
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];
-
mergeIncludeFields
public DataProfileSpec.Builder mergeIncludeFields(DataProfileSpec.SelectedFields value)
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];
-
clearIncludeFields
public DataProfileSpec.Builder clearIncludeFields()
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];
-
getIncludeFieldsBuilder
public DataProfileSpec.SelectedFields.Builder getIncludeFieldsBuilder()
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];
-
getIncludeFieldsOrBuilder
public DataProfileSpec.SelectedFieldsOrBuilder 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
public DataProfileSpec.SelectedFields 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.
-
setExcludeFields
public DataProfileSpec.Builder setExcludeFields(DataProfileSpec.SelectedFields value)
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];
-
setExcludeFields
public DataProfileSpec.Builder setExcludeFields(DataProfileSpec.SelectedFields.Builder builderForValue)
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];
-
mergeExcludeFields
public DataProfileSpec.Builder mergeExcludeFields(DataProfileSpec.SelectedFields value)
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];
-
clearExcludeFields
public DataProfileSpec.Builder clearExcludeFields()
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];
-
getExcludeFieldsBuilder
public DataProfileSpec.SelectedFields.Builder getExcludeFieldsBuilder()
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];
-
getExcludeFieldsOrBuilder
public DataProfileSpec.SelectedFieldsOrBuilder 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
-
setUnknownFields
public final DataProfileSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
mergeUnknownFields
public final DataProfileSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
-