public static final class Database.EncryptionConfig.Builder extends GeneratedMessageV3.Builder<Database.EncryptionConfig.Builder> implements Database.EncryptionConfigOrBuilder
Encryption configuration for a new database being created from another
source.
The source could be a Backup .
Protobuf type google.firestore.admin.v1.Database.EncryptionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Database.EncryptionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Database.EncryptionConfig build()
buildPartial()
public Database.EncryptionConfig buildPartial()
clear()
public Database.EncryptionConfig.Builder clear()
Overrides
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;
clearEncryptionType()
public Database.EncryptionConfig.Builder clearEncryptionType()
clearField(Descriptors.FieldDescriptor field)
public Database.EncryptionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGoogleDefaultEncryption()
public Database.EncryptionConfig.Builder clearGoogleDefaultEncryption()
Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Database.EncryptionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public Database.EncryptionConfig.Builder clone()
Overrides
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;
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;
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;
getDefaultInstanceForType()
public Database.EncryptionConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEncryptionTypeCase()
public Database.EncryptionConfig.EncryptionTypeCase getEncryptionTypeCase()
getGoogleDefaultEncryption()
public Database.EncryptionConfig.GoogleDefaultEncryptionOptions getGoogleDefaultEncryption()
Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
getGoogleDefaultEncryptionBuilder()
public Database.EncryptionConfig.GoogleDefaultEncryptionOptions.Builder getGoogleDefaultEncryptionBuilder()
Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
getGoogleDefaultEncryptionOrBuilder()
public Database.EncryptionConfig.GoogleDefaultEncryptionOptionsOrBuilder getGoogleDefaultEncryptionOrBuilder()
Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
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;
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
mergeFrom(Database.EncryptionConfig other)
public Database.EncryptionConfig.Builder mergeFrom(Database.EncryptionConfig other)
public Database.EncryptionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Database.EncryptionConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Database.EncryptionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Database.EncryptionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Database.EncryptionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Database.EncryptionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;