Enum Database.DatabaseType (3.27.2)

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

ProtocolMessageEnum

Static Fields

Name Description
DATABASE_TYPE_UNSPECIFIED

Not used.

DATABASE_TYPE_UNSPECIFIED = 0;

DATABASE_TYPE_UNSPECIFIED_VALUE

Not used.

DATABASE_TYPE_UNSPECIFIED = 0;

DATASTORE_MODE

Firestore in Datastore Mode.

DATASTORE_MODE = 2;

DATASTORE_MODE_VALUE

Firestore in Datastore Mode.

DATASTORE_MODE = 2;

FIRESTORE_NATIVE

Firestore Native Mode

FIRESTORE_NATIVE = 1;

FIRESTORE_NATIVE_VALUE

Firestore Native Mode

FIRESTORE_NATIVE = 1;

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()