Class StorageConfig (3.38.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
TypeDescription
int

CLOUD_STORAGE_OPTIONS_FIELD_NUMBER

public static final int CLOUD_STORAGE_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DATASTORE_OPTIONS_FIELD_NUMBER

public static final int DATASTORE_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

HYBRID_OPTIONS_FIELD_NUMBER

public static final int HYBRID_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESPAN_CONFIG_FIELD_NUMBER

public static final int TIMESPAN_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StorageConfig getDefaultInstance()
Returns
TypeDescription
StorageConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StorageConfig.Builder newBuilder()
Returns
TypeDescription
StorageConfig.Builder

newBuilder(StorageConfig prototype)

public static StorageConfig.Builder newBuilder(StorageConfig prototype)
Parameter
NameDescription
prototypeStorageConfig
Returns
TypeDescription
StorageConfig.Builder

parseDelimitedFrom(InputStream input)

public static StorageConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StorageConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StorageConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StorageConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StorageConfig> parser()
Returns
TypeDescription
Parser<StorageConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigQueryOptions()

public BigQueryOptions getBigQueryOptions()

BigQuery options.

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

Returns
TypeDescription
BigQueryOptions

The bigQueryOptions.

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.

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.

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

getHybridOptions()

public HybridOptions getHybridOptions()

Hybrid inspection options.

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

Returns
TypeDescription
HybridOptions

The hybridOptions.

getHybridOptionsOrBuilder()

public HybridOptionsOrBuilder getHybridOptionsOrBuilder()

Hybrid inspection options.

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

Returns
TypeDescription
HybridOptionsOrBuilder

getParserForType()

public Parser<StorageConfig> getParserForType()
Returns
TypeDescription
Parser<StorageConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimespanConfig()

public StorageConfig.TimespanConfig getTimespanConfig()

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

Returns
TypeDescription
StorageConfig.TimespanConfig

The timespanConfig.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException