Enum Index.ApiScope (3.15.7)

public enum Index.ApiScope extends Enum<Index.ApiScope> implements ProtocolMessageEnum

API Scope defines the APIs (Firestore Native, or Firestore in Datastore Mode) that are supported for queries.

Protobuf enum google.firestore.admin.v1.Index.ApiScope

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ANY_API

The index can only be used by the Firestore Native query API. This is the default.

ANY_API = 0;

ANY_API_VALUE

The index can only be used by the Firestore Native query API. This is the default.

ANY_API = 0;

DATASTORE_MODE_API

The index can only be used by the Firestore in Datastore Mode query API.

DATASTORE_MODE_API = 1;

DATASTORE_MODE_API_VALUE

The index can only be used by the Firestore in Datastore Mode query API.

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