Class DataDiscoverySpec.StorageConfig (1.53.0)

public static final class DataDiscoverySpec.StorageConfig extends GeneratedMessageV3 implements DataDiscoverySpec.StorageConfigOrBuilder

Configurations related to Cloud Storage as the data source.

Protobuf type google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataDiscoverySpec.StorageConfig

Static Fields

CSV_OPTIONS_FIELD_NUMBER

public static final int CSV_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDE_PATTERNS_FIELD_NUMBER

public static final int EXCLUDE_PATTERNS_FIELD_NUMBER
Field Value
Type Description
int

INCLUDE_PATTERNS_FIELD_NUMBER

public static final int INCLUDE_PATTERNS_FIELD_NUMBER
Field Value
Type Description
int

JSON_OPTIONS_FIELD_NUMBER

public static final int JSON_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataDiscoverySpec.StorageConfig getDefaultInstance()
Returns
Type Description
DataDiscoverySpec.StorageConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataDiscoverySpec.StorageConfig.Builder newBuilder()
Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder

newBuilder(DataDiscoverySpec.StorageConfig prototype)

public static DataDiscoverySpec.StorageConfig.Builder newBuilder(DataDiscoverySpec.StorageConfig prototype)
Parameter
Name Description
prototype DataDiscoverySpec.StorageConfig
Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder

parseDelimitedFrom(InputStream input)

public static DataDiscoverySpec.StorageConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataDiscoverySpec.StorageConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataDiscoverySpec.StorageConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataDiscoverySpec.StorageConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataDiscoverySpec.StorageConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataDiscoverySpec.StorageConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataDiscoverySpec.StorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataDiscoverySpec.StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataDiscoverySpec.StorageConfig> parser()
Returns
Type Description
Parser<StorageConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCsvOptions()

public DataDiscoverySpec.StorageConfig.CsvOptions getCsvOptions()

Optional. Configuration for CSV data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.StorageConfig.CsvOptions

The csvOptions.

getCsvOptionsOrBuilder()

public DataDiscoverySpec.StorageConfig.CsvOptionsOrBuilder getCsvOptionsOrBuilder()

Optional. Configuration for CSV data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.StorageConfig.CsvOptionsOrBuilder

getDefaultInstanceForType()

public DataDiscoverySpec.StorageConfig getDefaultInstanceForType()
Returns
Type Description
DataDiscoverySpec.StorageConfig

getExcludePatterns(int index)

public String getExcludePatterns(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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludePatterns at the given index.

getExcludePatternsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludePatterns at the given index.

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];

Returns
Type Description
int

The count of excludePatterns.

getExcludePatternsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the excludePatterns.

getIncludePatterns(int index)

public String getIncludePatterns(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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includePatterns at the given index.

getIncludePatternsBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includePatterns at the given index.

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];

Returns
Type Description
int

The count of includePatterns.

getIncludePatternsList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the includePatterns.

getJsonOptions()

public DataDiscoverySpec.StorageConfig.JsonOptions getJsonOptions()

Optional. Configuration for JSON data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.StorageConfig.JsonOptions

The jsonOptions.

getJsonOptionsOrBuilder()

public DataDiscoverySpec.StorageConfig.JsonOptionsOrBuilder getJsonOptionsOrBuilder()

Optional. Configuration for JSON data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.StorageConfig.JsonOptionsOrBuilder

getParserForType()

public Parser<DataDiscoverySpec.StorageConfig> getParserForType()
Returns
Type Description
Parser<StorageConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCsvOptions()

public boolean hasCsvOptions()

Optional. Configuration for CSV data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptions csv_options = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the csvOptions field is set.

hasJsonOptions()

public boolean hasJsonOptions()

Optional. Configuration for JSON data.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions json_options = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the jsonOptions field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataDiscoverySpec.StorageConfig.Builder newBuilderForType()
Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataDiscoverySpec.StorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataDiscoverySpec.StorageConfig.Builder toBuilder()
Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException