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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StorageConfig build()
Returns
buildPartial()
public StorageConfig buildPartial()
Returns
clear()
public StorageConfig.Builder clear()
Returns
Overrides
clearBigQueryOptions()
public StorageConfig.Builder clearBigQueryOptions()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Returns
clearCloudStorageOptions()
public StorageConfig.Builder clearCloudStorageOptions()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Returns
clearDatastoreOptions()
public StorageConfig.Builder clearDatastoreOptions()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public StorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHybridOptions()
public StorageConfig.Builder clearHybridOptions()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimespanConfig()
public StorageConfig.Builder clearTimespanConfig()
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Returns
clearType()
public StorageConfig.Builder clearType()
Returns
clone()
public StorageConfig.Builder clone()
Returns
Overrides
getBigQueryOptions()
public BigQueryOptions getBigQueryOptions()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Returns
getBigQueryOptionsBuilder()
public BigQueryOptions.Builder getBigQueryOptionsBuilder()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Returns
getBigQueryOptionsOrBuilder()
public BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Returns
getCloudStorageOptions()
public CloudStorageOptions getCloudStorageOptions()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Returns
getCloudStorageOptionsBuilder()
public CloudStorageOptions.Builder getCloudStorageOptionsBuilder()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Returns
getCloudStorageOptionsOrBuilder()
public CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Returns
getDatastoreOptions()
public DatastoreOptions getDatastoreOptions()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Returns
getDatastoreOptionsBuilder()
public DatastoreOptions.Builder getDatastoreOptionsBuilder()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Returns
getDatastoreOptionsOrBuilder()
public DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Returns
getDefaultInstanceForType()
public StorageConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHybridOptions()
public HybridOptions getHybridOptions()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Returns
getHybridOptionsBuilder()
public HybridOptions.Builder getHybridOptionsBuilder()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Returns
getHybridOptionsOrBuilder()
public HybridOptionsOrBuilder getHybridOptionsOrBuilder()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Returns
getTimespanConfig()
public StorageConfig.TimespanConfig getTimespanConfig()
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Returns
getTimespanConfigBuilder()
public StorageConfig.TimespanConfig.Builder getTimespanConfigBuilder()
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Returns
getTimespanConfigOrBuilder()
public StorageConfig.TimespanConfigOrBuilder getTimespanConfigOrBuilder()
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Returns
getTypeCase()
public StorageConfig.TypeCase getTypeCase()
Returns
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()
.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBigQueryOptions(BigQueryOptions value)
public StorageConfig.Builder mergeBigQueryOptions(BigQueryOptions value)
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Parameter
Returns
mergeCloudStorageOptions(CloudStorageOptions value)
public StorageConfig.Builder mergeCloudStorageOptions(CloudStorageOptions value)
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Parameter
Returns
mergeDatastoreOptions(DatastoreOptions value)
public StorageConfig.Builder mergeDatastoreOptions(DatastoreOptions value)
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Parameter
Returns
mergeFrom(StorageConfig other)
public StorageConfig.Builder mergeFrom(StorageConfig other)
Parameter
Returns
public StorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StorageConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeHybridOptions(HybridOptions value)
public StorageConfig.Builder mergeHybridOptions(HybridOptions value)
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Parameter
Returns
mergeTimespanConfig(StorageConfig.TimespanConfig value)
public StorageConfig.Builder mergeTimespanConfig(StorageConfig.TimespanConfig value)
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBigQueryOptions(BigQueryOptions value)
public StorageConfig.Builder setBigQueryOptions(BigQueryOptions value)
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Parameter
Returns
setBigQueryOptions(BigQueryOptions.Builder builderForValue)
public StorageConfig.Builder setBigQueryOptions(BigQueryOptions.Builder builderForValue)
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
Parameter
Returns
setCloudStorageOptions(CloudStorageOptions value)
public StorageConfig.Builder setCloudStorageOptions(CloudStorageOptions value)
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Parameter
Returns
setCloudStorageOptions(CloudStorageOptions.Builder builderForValue)
public StorageConfig.Builder setCloudStorageOptions(CloudStorageOptions.Builder builderForValue)
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Parameter
Returns
setDatastoreOptions(DatastoreOptions value)
public StorageConfig.Builder setDatastoreOptions(DatastoreOptions value)
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Parameter
Returns
setDatastoreOptions(DatastoreOptions.Builder builderForValue)
public StorageConfig.Builder setDatastoreOptions(DatastoreOptions.Builder builderForValue)
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHybridOptions(HybridOptions value)
public StorageConfig.Builder setHybridOptions(HybridOptions value)
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Parameter
Returns
setHybridOptions(HybridOptions.Builder builderForValue)
public StorageConfig.Builder setHybridOptions(HybridOptions.Builder builderForValue)
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimespanConfig(StorageConfig.TimespanConfig value)
public StorageConfig.Builder setTimespanConfig(StorageConfig.TimespanConfig value)
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Parameter
Returns
setTimespanConfig(StorageConfig.TimespanConfig.Builder builderForValue)
public StorageConfig.Builder setTimespanConfig(StorageConfig.TimespanConfig.Builder builderForValue)
.google.privacy.dlp.v2.StorageConfig.TimespanConfig timespan_config = 6;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides