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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clear
public DataProfileSpec.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
getDefaultInstanceForType
public DataProfileSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataProfileSpec build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataProfileSpec buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataProfileSpec.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
setField
public DataProfileSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clearField
public DataProfileSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
clearOneof
public DataProfileSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
setRepeatedField
public DataProfileSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
addRepeatedField
public DataProfileSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
mergeFrom
public DataProfileSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataProfileSpec.Builder>
-
mergeFrom
public DataProfileSpec.Builder mergeFrom(DataProfileSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSamplingPercent
in 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:
getRowFilter
in 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:
getRowFilterBytes
in 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:
hasPostScanActions
in 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:
getPostScanActions
in 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:
getPostScanActionsOrBuilder
in 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:
hasIncludeFields
in 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:
getIncludeFields
in 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:
getIncludeFieldsOrBuilder
in 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:
hasExcludeFields
in 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:
getExcludeFields
in 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:
getExcludeFieldsOrBuilder
in interfaceDataProfileSpecOrBuilder
-
setUnknownFields
public final DataProfileSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
mergeUnknownFields
public final DataProfileSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileSpec.Builder>
-
-