Send feedback
Class StorageConfig (3.80.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class StorageConfig extends GeneratedMessageV3 implements StorageConfigOrBuilder
Shared message indicating Cloud storage type.
Protobuf type google.privacy.dlp.v2.StorageConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BIG_QUERY_OPTIONS_FIELD_NUMBER
public static final int BIG_QUERY_OPTIONS_FIELD_NUMBER
Field Value
Type
Description
int
CLOUD_STORAGE_OPTIONS_FIELD_NUMBER
public static final int CLOUD_STORAGE_OPTIONS_FIELD_NUMBER
Field Value
Type
Description
int
DATASTORE_OPTIONS_FIELD_NUMBER
public static final int DATASTORE_OPTIONS_FIELD_NUMBER
Field Value
Type
Description
int
HYBRID_OPTIONS_FIELD_NUMBER
public static final int HYBRID_OPTIONS_FIELD_NUMBER
Field Value
Type
Description
int
TIMESPAN_CONFIG_FIELD_NUMBER
public static final int TIMESPAN_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static StorageConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static StorageConfig . Builder newBuilder ()
newBuilder(StorageConfig prototype)
public static StorageConfig . Builder newBuilder ( StorageConfig prototype )
public static StorageConfig parseDelimitedFrom ( InputStream input )
public static StorageConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static StorageConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static StorageConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StorageConfig parseFrom ( CodedInputStream input )
public static StorageConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StorageConfig parseFrom ( InputStream input )
public static StorageConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static StorageConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<StorageConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBigQueryOptions()
public BigQueryOptions getBigQueryOptions ()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
getBigQueryOptionsOrBuilder()
public BigQueryOptionsOrBuilder getBigQueryOptionsOrBuilder ()
BigQuery options.
.google.privacy.dlp.v2.BigQueryOptions big_query_options = 4;
getCloudStorageOptions()
public CloudStorageOptions getCloudStorageOptions ()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
getCloudStorageOptionsOrBuilder()
public CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder ()
Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
getDatastoreOptions()
public DatastoreOptions getDatastoreOptions ()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
getDatastoreOptionsOrBuilder()
public DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder ()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
getDefaultInstanceForType()
public StorageConfig getDefaultInstanceForType ()
getHybridOptions()
public HybridOptions getHybridOptions ()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
getHybridOptionsOrBuilder()
public HybridOptionsOrBuilder getHybridOptionsOrBuilder ()
Hybrid inspection options.
.google.privacy.dlp.v2.HybridOptions hybrid_options = 9;
getParserForType()
public Parser<StorageConfig> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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;
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;
getTypeCase()
public StorageConfig . TypeCase getTypeCase ()
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public StorageConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public StorageConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]