Interface Database.EncryptionConfigOrBuilder (3.28.0)

public static interface Database.EncryptionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomerManagedEncryption()

public abstract Database.EncryptionConfig.CustomerManagedEncryptionOptions getCustomerManagedEncryption()

Use Customer Managed Encryption Keys (CMEK) for encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;

Returns
Type Description
Database.EncryptionConfig.CustomerManagedEncryptionOptions

The customerManagedEncryption.

getCustomerManagedEncryptionOrBuilder()

public abstract Database.EncryptionConfig.CustomerManagedEncryptionOptionsOrBuilder getCustomerManagedEncryptionOrBuilder()

Use Customer Managed Encryption Keys (CMEK) for encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;

Returns
Type Description
Database.EncryptionConfig.CustomerManagedEncryptionOptionsOrBuilder

getEncryptionTypeCase()

public abstract Database.EncryptionConfig.EncryptionTypeCase getEncryptionTypeCase()
Returns
Type Description
Database.EncryptionConfig.EncryptionTypeCase

getGoogleDefaultEncryption()

public abstract Database.EncryptionConfig.GoogleDefaultEncryptionOptions getGoogleDefaultEncryption()

Use Google default encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;

Returns
Type Description
Database.EncryptionConfig.GoogleDefaultEncryptionOptions

The googleDefaultEncryption.

getGoogleDefaultEncryptionOrBuilder()

public abstract Database.EncryptionConfig.GoogleDefaultEncryptionOptionsOrBuilder getGoogleDefaultEncryptionOrBuilder()

Use Google default encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;

Returns
Type Description
Database.EncryptionConfig.GoogleDefaultEncryptionOptionsOrBuilder

getUseSourceEncryption()

public abstract Database.EncryptionConfig.SourceEncryptionOptions getUseSourceEncryption()

The database will use the same encryption configuration as the source.

.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;

Returns
Type Description
Database.EncryptionConfig.SourceEncryptionOptions

The useSourceEncryption.

getUseSourceEncryptionOrBuilder()

public abstract Database.EncryptionConfig.SourceEncryptionOptionsOrBuilder getUseSourceEncryptionOrBuilder()

The database will use the same encryption configuration as the source.

.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;

Returns
Type Description
Database.EncryptionConfig.SourceEncryptionOptionsOrBuilder

hasCustomerManagedEncryption()

public abstract boolean hasCustomerManagedEncryption()

Use Customer Managed Encryption Keys (CMEK) for encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;

Returns
Type Description
boolean

Whether the customerManagedEncryption field is set.

hasGoogleDefaultEncryption()

public abstract boolean hasGoogleDefaultEncryption()

Use Google default encryption.

.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;

Returns
Type Description
boolean

Whether the googleDefaultEncryption field is set.

hasUseSourceEncryption()

public abstract boolean hasUseSourceEncryption()

The database will use the same encryption configuration as the source.

.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;

Returns
Type Description
boolean

Whether the useSourceEncryption field is set.