Class StorageConfig.Builder (3.55.0)

public static final class StorageConfig.Builder extends GeneratedMessageV3.Builder<StorageConfig.Builder> implements StorageConfigOrBuilder

Shared message indicating Cloud storage type.

Protobuf type google.privacy.dlp.v2.StorageConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageConfig.Builder
Overrides

build()

public StorageConfig build()
Returns
Type Description
StorageConfig

buildPartial()

public StorageConfig buildPartial()
Returns
Type Description
StorageConfig

clear()

public StorageConfig.Builder clear()
Returns
Type Description
StorageConfig.Builder
Overrides

clearBigQueryOptions()

public StorageConfig.Builder clearBigQueryOptions()

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Returns
Type Description
StorageConfig.Builder

clearCloudStorageOptions()

public StorageConfig.Builder clearCloudStorageOptions()

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Returns
Type Description
StorageConfig.Builder

clearDatastoreOptions()

public StorageConfig.Builder clearDatastoreOptions()

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Returns
Type Description
StorageConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public StorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StorageConfig.Builder
Overrides

clearHybridOptions()

public StorageConfig.Builder clearHybridOptions()

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Returns
Type Description
StorageConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StorageConfig.Builder
Overrides

clearTimespanConfig()

public StorageConfig.Builder clearTimespanConfig()

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Returns
Type Description
StorageConfig.Builder

clearType()

public StorageConfig.Builder clearType()
Returns
Type Description
StorageConfig.Builder

clone()

public StorageConfig.Builder clone()
Returns
Type Description
StorageConfig.Builder
Overrides

getBigQueryOptions()

public BigQueryOptions getBigQueryOptions()

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Returns
Type Description
BigQueryOptions

The bigQueryOptions.

getBigQueryOptionsBuilder()

public BigQueryOptions.Builder getBigQueryOptionsBuilder()

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Returns
Type Description
BigQueryOptions.Builder

getBigQueryOptionsOrBuilder()

public BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder()

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Returns
Type Description
BigQueryOptionsOrBuilder

getCloudStorageOptions()

public CloudStorageOptions getCloudStorageOptions()

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Returns
Type Description
CloudStorageOptions

The cloudStorageOptions.

getCloudStorageOptionsBuilder()

public CloudStorageOptions.Builder getCloudStorageOptionsBuilder()

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Returns
Type Description
CloudStorageOptions.Builder

getCloudStorageOptionsOrBuilder()

public CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder()

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Returns
Type Description
CloudStorageOptionsOrBuilder

getDatastoreOptions()

public DatastoreOptions getDatastoreOptions()

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Returns
Type Description
DatastoreOptions

The datastoreOptions.

getDatastoreOptionsBuilder()

public DatastoreOptions.Builder getDatastoreOptionsBuilder()

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Returns
Type Description
DatastoreOptions.Builder

getDatastoreOptionsOrBuilder()

public DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder()

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Returns
Type Description
DatastoreOptionsOrBuilder

getDefaultInstanceForType()

public StorageConfig getDefaultInstanceForType()
Returns
Type Description
StorageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHybridOptions()

public HybridOptions getHybridOptions()

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Returns
Type Description
HybridOptions

The hybridOptions.

getHybridOptionsBuilder()

public HybridOptions.Builder getHybridOptionsBuilder()

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Returns
Type Description
HybridOptions.Builder

getHybridOptionsOrBuilder()

public HybridOptionsOrBuilder getHybridOptionsOrBuilder()

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Returns
Type Description
HybridOptionsOrBuilder

getTimespanConfig()

public StorageConfig.TimespanConfig getTimespanConfig()

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Returns
Type Description
StorageConfig.TimespanConfig

The timespanConfig.

getTimespanConfigBuilder()

public StorageConfig.TimespanConfig.Builder getTimespanConfigBuilder()

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Returns
Type Description
StorageConfig.TimespanConfig.Builder

getTimespanConfigOrBuilder()

public StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder()

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Returns
Type Description
StorageConfig.TimespanConfigOrBuilder

getTypeCase()

public StorageConfig.TypeCase getTypeCase()
Returns
Type Description
StorageConfig.TypeCase

hasBigQueryOptions()

public boolean hasBigQueryOptions()

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Returns
Type Description
boolean

Whether the bigQueryOptions field is set.

hasCloudStorageOptions()

public boolean hasCloudStorageOptions()

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Returns
Type Description
boolean

Whether the cloudStorageOptions field is set.

hasDatastoreOptions()

public boolean hasDatastoreOptions()

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Returns
Type Description
boolean

Whether the datastoreOptions field is set.

hasHybridOptions()

public boolean hasHybridOptions()

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Returns
Type Description
boolean

Whether the hybridOptions field is set.

hasTimespanConfig()

public boolean hasTimespanConfig()

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Returns
Type Description
boolean

Whether the timespanConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQueryOptions(BigQueryOptions value)

public StorageConfig.Builder mergeBigQueryOptions(BigQueryOptions value)

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Parameter
Name Description
value BigQueryOptions
Returns
Type Description
StorageConfig.Builder

mergeCloudStorageOptions(CloudStorageOptions value)

public StorageConfig.Builder mergeCloudStorageOptions(CloudStorageOptions value)

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Parameter
Name Description
value CloudStorageOptions
Returns
Type Description
StorageConfig.Builder

mergeDatastoreOptions(DatastoreOptions value)

public StorageConfig.Builder mergeDatastoreOptions(DatastoreOptions value)

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Parameter
Name Description
value DatastoreOptions
Returns
Type Description
StorageConfig.Builder

mergeFrom(StorageConfig other)

public StorageConfig.Builder mergeFrom(StorageConfig other)
Parameter
Name Description
other StorageConfig
Returns
Type Description
StorageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StorageConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StorageConfig.Builder
Overrides

mergeHybridOptions(HybridOptions value)

public StorageConfig.Builder mergeHybridOptions(HybridOptions value)

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Parameter
Name Description
value HybridOptions
Returns
Type Description
StorageConfig.Builder

mergeTimespanConfig(StorageConfig.TimespanConfig value)

public StorageConfig.Builder mergeTimespanConfig(StorageConfig.TimespanConfig value)

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Parameter
Name Description
value StorageConfig.TimespanConfig
Returns
Type Description
StorageConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageConfig.Builder
Overrides

setBigQueryOptions(BigQueryOptions value)

public StorageConfig.Builder setBigQueryOptions(BigQueryOptions value)

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Parameter
Name Description
value BigQueryOptions
Returns
Type Description
StorageConfig.Builder

setBigQueryOptions(BigQueryOptions.Builder builderForValue)

public StorageConfig.Builder setBigQueryOptions(BigQueryOptions.Builder builderForValue)

BigQuery options.

.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;

Parameter
Name Description
builderForValue BigQueryOptions.Builder
Returns
Type Description
StorageConfig.Builder

setCloudStorageOptions(CloudStorageOptions value)

public StorageConfig.Builder setCloudStorageOptions(CloudStorageOptions value)

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Parameter
Name Description
value CloudStorageOptions
Returns
Type Description
StorageConfig.Builder

setCloudStorageOptions(CloudStorageOptions.Builder builderForValue)

public StorageConfig.Builder setCloudStorageOptions(CloudStorageOptions.Builder builderForValue)

Cloud Storage options.

.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;

Parameter
Name Description
builderForValue CloudStorageOptions.Builder
Returns
Type Description
StorageConfig.Builder

setDatastoreOptions(DatastoreOptions value)

public StorageConfig.Builder setDatastoreOptions(DatastoreOptions value)

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Parameter
Name Description
value DatastoreOptions
Returns
Type Description
StorageConfig.Builder

setDatastoreOptions(DatastoreOptions.Builder builderForValue)

public StorageConfig.Builder setDatastoreOptions(DatastoreOptions.Builder builderForValue)

Google Cloud Datastore options.

.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;

Parameter
Name Description
builderForValue DatastoreOptions.Builder
Returns
Type Description
StorageConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StorageConfig.Builder
Overrides

setHybridOptions(HybridOptions value)

public StorageConfig.Builder setHybridOptions(HybridOptions value)

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Parameter
Name Description
value HybridOptions
Returns
Type Description
StorageConfig.Builder

setHybridOptions(HybridOptions.Builder builderForValue)

public StorageConfig.Builder setHybridOptions(HybridOptions.Builder builderForValue)

Hybrid inspection options.

.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;

Parameter
Name Description
builderForValue HybridOptions.Builder
Returns
Type Description
StorageConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StorageConfig.Builder
Overrides

setTimespanConfig(StorageConfig.TimespanConfig value)

public StorageConfig.Builder setTimespanConfig(StorageConfig.TimespanConfig value)

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Parameter
Name Description
value StorageConfig.TimespanConfig
Returns
Type Description
StorageConfig.Builder

setTimespanConfig(StorageConfig.TimespanConfig.Builder builderForValue)

public StorageConfig.Builder setTimespanConfig(StorageConfig.TimespanConfig.Builder builderForValue)

Configuration of the timespan of the items to include in scanning.

.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;

Parameter
Name Description
builderForValue StorageConfig.TimespanConfig.Builder
Returns
Type Description
StorageConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StorageConfig.Builder
Overrides