public enum Database.DatabaseType extends Enum<Database.DatabaseType> implements ProtocolMessageEnum
The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
Mode changes are only allowed if the database is empty.
Protobuf enum google.firestore.admin.v1.Database.DatabaseType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DATABASE_TYPE_UNSPECIFIED |
The default value. This value is used if the database type is omitted. |
DATABASE_TYPE_UNSPECIFIED_VALUE |
The default value. This value is used if the database type is omitted. |
DATASTORE_MODE |
Firestore in Datastore Mode. |
DATASTORE_MODE_VALUE |
Firestore in Datastore Mode. |
FIRESTORE_NATIVE |
Firestore Native Mode |
FIRESTORE_NATIVE_VALUE |
Firestore Native Mode |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |