Class StorageConfig.Builder (3.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StorageConfig.Builder
Overrides

build()

public StorageConfig build()
Returns
TypeDescription
StorageConfig

buildPartial()

public StorageConfig buildPartial()
Returns
TypeDescription
StorageConfig

clear()

public StorageConfig.Builder clear()
Returns
TypeDescription
StorageConfig.Builder
Overrides

clearBigQueryOptions()

public StorageConfig.Builder clearBigQueryOptions()

BigQuery options.

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

Returns
TypeDescription
StorageConfig.Builder

clearCloudStorageOptions()

public StorageConfig.Builder clearCloudStorageOptions()

Cloud Storage options.

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

Returns
TypeDescription
StorageConfig.Builder

clearDatastoreOptions()

public StorageConfig.Builder clearDatastoreOptions()

Google Cloud Datastore options.

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

Returns
TypeDescription
StorageConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public StorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StorageConfig.Builder
Overrides

clearHybridOptions()

public StorageConfig.Builder clearHybridOptions()

Hybrid inspection options.

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

Returns
TypeDescription
StorageConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StorageConfig.Builder
Overrides

clearTimespanConfig()

public StorageConfig.Builder clearTimespanConfig()

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

Returns
TypeDescription
StorageConfig.Builder

clearType()

public StorageConfig.Builder clearType()
Returns
TypeDescription
StorageConfig.Builder

clone()

public StorageConfig.Builder clone()
Returns
TypeDescription
StorageConfig.Builder
Overrides

getBigQueryOptions()

public BigQueryOptions getBigQueryOptions()

BigQuery options.

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

Returns
TypeDescription
BigQueryOptions

The bigQueryOptions.

getBigQueryOptionsBuilder()

public BigQueryOptions.Builder getBigQueryOptionsBuilder()

BigQuery options.

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

Returns
TypeDescription
BigQueryOptions.Builder

getBigQueryOptionsOrBuilder()

public BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder()

BigQuery options.

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

Returns
TypeDescription
BigQueryOptionsOrBuilder

getCloudStorageOptions()

public CloudStorageOptions getCloudStorageOptions()

Cloud Storage options.

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

Returns
TypeDescription
CloudStorageOptions

The cloudStorageOptions.

getCloudStorageOptionsBuilder()

public CloudStorageOptions.Builder getCloudStorageOptionsBuilder()

Cloud Storage options.

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

Returns
TypeDescription
CloudStorageOptions.Builder

getCloudStorageOptionsOrBuilder()

public CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder()

Cloud Storage options.

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

Returns
TypeDescription
CloudStorageOptionsOrBuilder

getDatastoreOptions()

public DatastoreOptions getDatastoreOptions()

Google Cloud Datastore options.

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

Returns
TypeDescription
DatastoreOptions

The datastoreOptions.

getDatastoreOptionsBuilder()

public DatastoreOptions.Builder getDatastoreOptionsBuilder()

Google Cloud Datastore options.

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

Returns
TypeDescription
DatastoreOptions.Builder

getDatastoreOptionsOrBuilder()

public DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder()

Google Cloud Datastore options.

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

Returns
TypeDescription
DatastoreOptionsOrBuilder

getDefaultInstanceForType()

public StorageConfig getDefaultInstanceForType()
Returns
TypeDescription
StorageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHybridOptions()

public HybridOptions getHybridOptions()

Hybrid inspection options.

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

Returns
TypeDescription
HybridOptions

The hybridOptions.

getHybridOptionsBuilder()

public HybridOptions.Builder getHybridOptionsBuilder()

Hybrid inspection options.

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

Returns
TypeDescription
HybridOptions.Builder

getHybridOptionsOrBuilder()

public HybridOptionsOrBuilder getHybridOptionsOrBuilder()

Hybrid inspection options.

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

Returns
TypeDescription
HybridOptionsOrBuilder

getTimespanConfig()

public StorageConfig.TimespanConfig getTimespanConfig()

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

Returns
TypeDescription
StorageConfig.TimespanConfig

The timespanConfig.

getTimespanConfigBuilder()

public StorageConfig.TimespanConfig.Builder getTimespanConfigBuilder()

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

Returns
TypeDescription
StorageConfig.TimespanConfig.Builder

getTimespanConfigOrBuilder()

public StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder()

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

Returns
TypeDescription
StorageConfig.TimespanConfigOrBuilder

getTypeCase()

public StorageConfig.TypeCase getTypeCase()
Returns
TypeDescription
StorageConfig.TypeCase

hasBigQueryOptions()

public boolean hasBigQueryOptions()

BigQuery options.

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

Returns
TypeDescription
boolean

Whether the bigQueryOptions field is set.

hasCloudStorageOptions()

public boolean hasCloudStorageOptions()

Cloud Storage options.

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

Returns
TypeDescription
boolean

Whether the cloudStorageOptions field is set.

hasDatastoreOptions()

public boolean hasDatastoreOptions()

Google Cloud Datastore options.

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

Returns
TypeDescription
boolean

Whether the datastoreOptions field is set.

hasHybridOptions()

public boolean hasHybridOptions()

Hybrid inspection options.

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

Returns
TypeDescription
boolean

Whether the hybridOptions field is set.

hasTimespanConfig()

public boolean hasTimespanConfig()

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

Returns
TypeDescription
boolean

Whether the timespanConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBigQueryOptions(BigQueryOptions value)

public StorageConfig.Builder mergeBigQueryOptions(BigQueryOptions value)

BigQuery options.

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

Parameter
NameDescription
valueBigQueryOptions
Returns
TypeDescription
StorageConfig.Builder

mergeCloudStorageOptions(CloudStorageOptions value)

public StorageConfig.Builder mergeCloudStorageOptions(CloudStorageOptions value)

Cloud Storage options.

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

Parameter
NameDescription
valueCloudStorageOptions
Returns
TypeDescription
StorageConfig.Builder

mergeDatastoreOptions(DatastoreOptions value)

public StorageConfig.Builder mergeDatastoreOptions(DatastoreOptions value)

Google Cloud Datastore options.

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

Parameter
NameDescription
valueDatastoreOptions
Returns
TypeDescription
StorageConfig.Builder

mergeFrom(StorageConfig other)

public StorageConfig.Builder mergeFrom(StorageConfig other)
Parameter
NameDescription
otherStorageConfig
Returns
TypeDescription
StorageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StorageConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StorageConfig.Builder
Overrides

mergeHybridOptions(HybridOptions value)

public StorageConfig.Builder mergeHybridOptions(HybridOptions value)

Hybrid inspection options.

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

Parameter
NameDescription
valueHybridOptions
Returns
TypeDescription
StorageConfig.Builder

mergeTimespanConfig(StorageConfig.TimespanConfig value)

public StorageConfig.Builder mergeTimespanConfig(StorageConfig.TimespanConfig value)

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

Parameter
NameDescription
valueStorageConfig.TimespanConfig
Returns
TypeDescription
StorageConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StorageConfig.Builder
Overrides

setBigQueryOptions(BigQueryOptions value)

public StorageConfig.Builder setBigQueryOptions(BigQueryOptions value)

BigQuery options.

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

Parameter
NameDescription
valueBigQueryOptions
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryOptions.Builder
Returns
TypeDescription
StorageConfig.Builder

setCloudStorageOptions(CloudStorageOptions value)

public StorageConfig.Builder setCloudStorageOptions(CloudStorageOptions value)

Cloud Storage options.

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

Parameter
NameDescription
valueCloudStorageOptions
Returns
TypeDescription
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
NameDescription
builderForValueCloudStorageOptions.Builder
Returns
TypeDescription
StorageConfig.Builder

setDatastoreOptions(DatastoreOptions value)

public StorageConfig.Builder setDatastoreOptions(DatastoreOptions value)

Google Cloud Datastore options.

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

Parameter
NameDescription
valueDatastoreOptions
Returns
TypeDescription
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
NameDescription
builderForValueDatastoreOptions.Builder
Returns
TypeDescription
StorageConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StorageConfig.Builder
Overrides

setHybridOptions(HybridOptions value)

public StorageConfig.Builder setHybridOptions(HybridOptions value)

Hybrid inspection options.

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

Parameter
NameDescription
valueHybridOptions
Returns
TypeDescription
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
NameDescription
builderForValueHybridOptions.Builder
Returns
TypeDescription
StorageConfig.Builder

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

public StorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StorageConfig.Builder
Overrides

setTimespanConfig(StorageConfig.TimespanConfig value)

public StorageConfig.Builder setTimespanConfig(StorageConfig.TimespanConfig value)

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

Parameter
NameDescription
valueStorageConfig.TimespanConfig
Returns
TypeDescription
StorageConfig.Builder

setTimespanConfig(StorageConfig.TimespanConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueStorageConfig.TimespanConfig.Builder
Returns
TypeDescription
StorageConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StorageConfig.Builder
Overrides