public static final class Database.EncryptionConfig.Builder extends GeneratedMessage.Builder<Database.EncryptionConfig.Builder> implements Database.EncryptionConfigOrBuilderEncryption configuration for a new database being created from another source.
The source could be a Backup .
Protobuf type google.firestore.admin.v1.Database.EncryptionConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Database.EncryptionConfig.BuilderImplements
Database.EncryptionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Database.EncryptionConfig build()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig |
|
buildPartial()
public Database.EncryptionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig |
|
clear()
public Database.EncryptionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
clearCustomerManagedEncryption()
public Database.EncryptionConfig.Builder clearCustomerManagedEncryption()Use Customer Managed Encryption Keys (CMEK) for encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
clearEncryptionType()
public Database.EncryptionConfig.Builder clearEncryptionType()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
clearGoogleDefaultEncryption()
public Database.EncryptionConfig.Builder clearGoogleDefaultEncryption()Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
clearUseSourceEncryption()
public Database.EncryptionConfig.Builder clearUseSourceEncryption()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.Builder |
|
getCustomerManagedEncryption()
public 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. |
getCustomerManagedEncryptionBuilder()
public Database.EncryptionConfig.CustomerManagedEncryptionOptions.Builder getCustomerManagedEncryptionBuilder()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.Builder |
|
getCustomerManagedEncryptionOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public Database.EncryptionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncryptionTypeCase()
public Database.EncryptionConfig.EncryptionTypeCase getEncryptionTypeCase()| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.EncryptionTypeCase |
|
getGoogleDefaultEncryption()
public 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. |
getGoogleDefaultEncryptionBuilder()
public Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder getGoogleDefaultEncryptionBuilder()Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder |
|
getGoogleDefaultEncryptionOrBuilder()
public 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 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. |
getUseSourceEncryptionBuilder()
public Database.EncryptionConfig.SourceEncryptionOptions.Builder getUseSourceEncryptionBuilder()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.Builder |
|
getUseSourceEncryptionOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions value)
public Database.EncryptionConfig.Builder mergeCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions value)Use Customer Managed Encryption Keys (CMEK) for encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.CustomerManagedEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
mergeFrom(Database.EncryptionConfig other)
public Database.EncryptionConfig.Builder mergeFrom(Database.EncryptionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Database.EncryptionConfig |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Database.EncryptionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Database.EncryptionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
mergeGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions value)
public Database.EncryptionConfig.Builder mergeGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions value)Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.GoogleDefaultEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
mergeUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions value)
public Database.EncryptionConfig.Builder mergeUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions value)The database will use the same encryption configuration as the source.
.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.SourceEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions value)
public Database.EncryptionConfig.Builder setCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions value)Use Customer Managed Encryption Keys (CMEK) for encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.CustomerManagedEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions.Builder builderForValue)
public Database.EncryptionConfig.Builder setCustomerManagedEncryption(Database.EncryptionConfig.CustomerManagedEncryptionOptions.Builder builderForValue)Use Customer Managed Encryption Keys (CMEK) for encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions customer_managed_encryption = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Database.EncryptionConfig.CustomerManagedEncryptionOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions value)
public Database.EncryptionConfig.Builder setGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions value)Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.GoogleDefaultEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder builderForValue)
public Database.EncryptionConfig.Builder setGoogleDefaultEncryption(Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder builderForValue)Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions value)
public Database.EncryptionConfig.Builder setUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions value)The database will use the same encryption configuration as the source.
.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Database.EncryptionConfig.SourceEncryptionOptions |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|
setUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions.Builder builderForValue)
public Database.EncryptionConfig.Builder setUseSourceEncryption(Database.EncryptionConfig.SourceEncryptionOptions.Builder builderForValue)The database will use the same encryption configuration as the source.
.google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions use_source_encryption = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Database.EncryptionConfig.SourceEncryptionOptions.Builder |
| Returns | |
|---|---|
| Type | Description |
Database.EncryptionConfig.Builder |
|