Class StorageConfig.Builder (3.47.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