public static final class Database.EncryptionConfig extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GOOGLE_DEFAULT_ENCRYPTION_FIELD_NUMBER
public static final int GOOGLE_DEFAULT_ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USE_SOURCE_ENCRYPTION_FIELD_NUMBER
public static final int USE_SOURCE_ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Database.EncryptionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Database.EncryptionConfig.Builder newBuilder()
newBuilder(Database.EncryptionConfig prototype)
public static Database.EncryptionConfig.Builder newBuilder(Database.EncryptionConfig prototype)
public static Database.EncryptionConfig parseDelimitedFrom(InputStream input)
public static Database.EncryptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Database.EncryptionConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Database.EncryptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Database.EncryptionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.EncryptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.EncryptionConfig parseFrom(CodedInputStream input)
public static Database.EncryptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Database.EncryptionConfig parseFrom(InputStream input)
public static Database.EncryptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Database.EncryptionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Database.EncryptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Database.EncryptionConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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()
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;
getGoogleDefaultEncryptionOrBuilder()
public Database.EncryptionConfig.GoogleDefaultEncryptionOptionsOrBuilder getGoogleDefaultEncryptionOrBuilder()
Use Google default encryption.
.google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions google_default_encryption = 1;
getParserForType()
public Parser<Database.EncryptionConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Database.EncryptionConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Database.EncryptionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Database.EncryptionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides