Class StorageConfig (3.46.0)

public final class StorageConfig extends GeneratedMessageV3 implements StorageConfigOrBuilder

Shared message indicating Cloud storage type.

Protobuf type google.privacy.dlp.v2.StorageConfig

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()
Returns
Type Description
StorageConfig

getDescriptor()

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

newBuilder()

public static StorageConfig.Builder newBuilder()
Returns
Type Description
StorageConfig.Builder

newBuilder(StorageConfig prototype)

public static StorageConfig.Builder newBuilder(StorageConfig prototype)
Parameter
Name Description
prototype StorageConfig
Returns
Type Description
StorageConfig.Builder

parseDelimitedFrom(InputStream input)

public static StorageConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StorageConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StorageConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StorageConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StorageConfig> parser()
Returns
Type Description
Parser<StorageConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigQueryOptions()

public BigQueryOptions getBigQueryOptions()

BigQuery options.

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

Returns
Type Description
BigQueryOptions

The bigQueryOptions.

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.

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.

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

getHybridOptions()

public HybridOptions getHybridOptions()

Hybrid inspection options.

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

Returns
Type Description
HybridOptions

The hybridOptions.

getHybridOptionsOrBuilder()

public HybridOptionsOrBuilder getHybridOptionsOrBuilder()

Hybrid inspection options.

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

Returns
Type Description
HybridOptionsOrBuilder

getParserForType()

public Parser<StorageConfig> getParserForType()
Returns
Type Description
Parser<StorageConfig>
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;

Returns
Type Description
StorageConfig.TimespanConfig

The timespanConfig.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException