Enum Database.DatabaseType (3.15.7)

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

NameDescription
DATABASE_TYPE_UNSPECIFIED

The default value. This value is used if the database type is omitted.

DATABASE_TYPE_UNSPECIFIED = 0;

DATABASE_TYPE_UNSPECIFIED_VALUE

The default value. This value is used if the database type is omitted.

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

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()