Package com.google.cloud.dataplex.v1
Class DataDiscoverySpec.StorageConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.StorageConfig.Builder>
com.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.Builder
- All Implemented Interfaces:
DataDiscoverySpec.StorageConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataDiscoverySpec.StorageConfig
public static final class DataDiscoverySpec.StorageConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.StorageConfig.Builder>
implements DataDiscoverySpec.StorageConfigOrBuilder
Configurations related to Cloud Storage as the data source.Protobuf type
google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllExcludePatterns(Iterable<String> values) Optional.addAllIncludePatterns(Iterable<String> values) Optional.addExcludePatterns(String value) Optional.addExcludePatternsBytes(com.google.protobuf.ByteString value) Optional.addIncludePatterns(String value) Optional.addIncludePatternsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExcludePatterns(int index) Optional.com.google.protobuf.ByteStringgetExcludePatternsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getIncludePatterns(int index) Optional.com.google.protobuf.ByteStringgetIncludePatternsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.setCsvOptions(DataDiscoverySpec.StorageConfig.CsvOptions.Builder builderForValue) Optional.setExcludePatterns(int index, String value) Optional.setIncludePatterns(int index, String value) Optional.Optional.setJsonOptions(DataDiscoverySpec.StorageConfig.JsonOptions.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<DataDiscoverySpec.StorageConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.StorageConfig.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.GeneratedMessage.Builder<DataDiscoverySpec.StorageConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDiscoverySpec.StorageConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataDiscoverySpec.StorageConfig.Builder>
-
mergeFrom
public DataDiscoverySpec.StorageConfig.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<DataDiscoverySpec.StorageConfig.Builder>- Throws:
IOException
-
getIncludePatternsList
public com.google.protobuf.ProtocolStringList getIncludePatternsList()Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludePatternsListin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- A list containing the includePatterns.
-
getIncludePatternsCount
public int getIncludePatternsCount()Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludePatternsCountin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- The count of includePatterns.
-
getIncludePatterns
Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludePatternsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The includePatterns at the given index.
-
getIncludePatternsBytes
public com.google.protobuf.ByteString getIncludePatternsBytes(int index) Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIncludePatternsBytesin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includePatterns at the given index.
-
setIncludePatterns
Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The includePatterns to set.- Returns:
- This builder for chaining.
-
addIncludePatterns
Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The includePatterns to add.- Returns:
- This builder for chaining.
-
addAllIncludePatterns
Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The includePatterns to add.- Returns:
- This builder for chaining.
-
clearIncludePatterns
Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addIncludePatternsBytes
public DataDiscoverySpec.StorageConfig.Builder addIncludePatternsBytes(com.google.protobuf.ByteString value) Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string include_patterns = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the includePatterns to add.- Returns:
- This builder for chaining.
-
getExcludePatternsList
public com.google.protobuf.ProtocolStringList getExcludePatternsList()Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludePatternsListin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- A list containing the excludePatterns.
-
getExcludePatternsCount
public int getExcludePatternsCount()Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludePatternsCountin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- The count of excludePatterns.
-
getExcludePatterns
Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludePatternsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludePatterns at the given index.
-
getExcludePatternsBytes
public com.google.protobuf.ByteString getExcludePatternsBytes(int index) Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExcludePatternsBytesin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludePatterns at the given index.
-
setExcludePatterns
Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The excludePatterns to set.- Returns:
- This builder for chaining.
-
addExcludePatterns
Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The excludePatterns to add.- Returns:
- This builder for chaining.
-
addAllExcludePatterns
Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The excludePatterns to add.- Returns:
- This builder for chaining.
-
clearExcludePatterns
Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addExcludePatternsBytes
public DataDiscoverySpec.StorageConfig.Builder addExcludePatternsBytes(com.google.protobuf.ByteString value) Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names.
repeated string exclude_patterns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the excludePatterns to add.- Returns:
- This builder for chaining.
-
hasCsvOptions
public boolean hasCsvOptions()Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCsvOptionsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- Whether the csvOptions field is set.
-
getCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCsvOptionsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- The csvOptions.
-
setCsvOptions
public DataDiscoverySpec.StorageConfig.Builder setCsvOptions(DataDiscoverySpec.StorageConfig.CsvOptions value) Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setCsvOptions
public DataDiscoverySpec.StorageConfig.Builder setCsvOptions(DataDiscoverySpec.StorageConfig.CsvOptions.Builder builderForValue) Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCsvOptions
public DataDiscoverySpec.StorageConfig.Builder mergeCsvOptions(DataDiscoverySpec.StorageConfig.CsvOptions value) Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearCsvOptions
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCsvOptionsBuilder
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getCsvOptionsOrBuilder
Optional. Configuration for CSV data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCsvOptionsOrBuilderin interfaceDataDiscoverySpec.StorageConfigOrBuilder
-
hasJsonOptions
public boolean hasJsonOptions()Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasJsonOptionsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- Whether the jsonOptions field is set.
-
getJsonOptions
Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJsonOptionsin interfaceDataDiscoverySpec.StorageConfigOrBuilder- Returns:
- The jsonOptions.
-
setJsonOptions
public DataDiscoverySpec.StorageConfig.Builder setJsonOptions(DataDiscoverySpec.StorageConfig.JsonOptions value) Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setJsonOptions
public DataDiscoverySpec.StorageConfig.Builder setJsonOptions(DataDiscoverySpec.StorageConfig.JsonOptions.Builder builderForValue) Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeJsonOptions
public DataDiscoverySpec.StorageConfig.Builder mergeJsonOptions(DataDiscoverySpec.StorageConfig.JsonOptions value) Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearJsonOptions
Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getJsonOptionsBuilder
Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getJsonOptionsOrBuilder
Optional. Configuration for JSON data.
.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getJsonOptionsOrBuilderin interfaceDataDiscoverySpec.StorageConfigOrBuilder
-