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
CLOUD_STORAGE_OPTIONS_FIELD_NUMBER
public static final int CLOUD_STORAGE_OPTIONS_FIELD_NUMBER
Field Value
DATASTORE_OPTIONS_FIELD_NUMBER
public static final int DATASTORE_OPTIONS_FIELD_NUMBER
Field Value
HYBRID_OPTIONS_FIELD_NUMBER
public static final int HYBRID_OPTIONS_FIELD_NUMBER
Field Value
TIMESPAN_CONFIG_FIELD_NUMBER
public static final int TIMESPAN_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StorageConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StorageConfig.Builder newBuilder()
Returns
newBuilder(StorageConfig prototype)
public static StorageConfig.Builder newBuilder(StorageConfig prototype)
Parameter
Returns
public static StorageConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StorageConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StorageConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StorageConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StorageConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StorageConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StorageConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBigQueryOptions()
public BigQueryOptions getBigQueryOptions()
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()
Google Cloud Storage options.
.google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3;
Returns
getCloudStorageOptionsOrBuilder()
public CloudStorageOptionsOrBuilder getCloudStorageOptionsOrBuilder()
Google 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
getDatastoreOptionsOrBuilder()
public DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder()
Google Cloud Datastore options.
.google.privacy.dlp.v2.DatastoreOptions datastore_options = 2;
Returns
getDefaultInstanceForType()
public StorageConfig getDefaultInstanceForType()
Returns
getHybridOptions()
public HybridOptions getHybridOptions()
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
getParserForType()
public Parser<StorageConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTimespanConfig()
public StorageConfig.TimespanConfig getTimespanConfig()
.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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Google 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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StorageConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StorageConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions