Enum Index.State (2.24.1)

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

The possible set of states of an index.

Protobuf enum google.datastore.admin.v1.Index.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CREATING

The index is being created, and cannot be used by queries. There is an active long-running operation for the index. The index is updated when writing an entity. Some index data may exist.

CREATING = 1;

CREATING_VALUE

The index is being created, and cannot be used by queries. There is an active long-running operation for the index. The index is updated when writing an entity. Some index data may exist.

CREATING = 1;

DELETING

The index is being deleted, and cannot be used by queries. There is an active long-running operation for the index. The index is not updated when writing an entity. Some index data may exist.

DELETING = 3;

DELETING_VALUE

The index is being deleted, and cannot be used by queries. There is an active long-running operation for the index. The index is not updated when writing an entity. Some index data may exist.

DELETING = 3;

ERROR

The index was being created or deleted, but something went wrong. The index cannot by used by queries. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing an entity. Some index data may exist.

ERROR = 4;

ERROR_VALUE

The index was being created or deleted, but something went wrong. The index cannot by used by queries. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing an entity. Some index data may exist.

ERROR = 4;

READY

The index is ready to be used. The index is updated when writing an entity. The index is fully populated from all stored entities it applies to.

READY = 2;

READY_VALUE

The index is ready to be used. The index is updated when writing an entity. The index is fully populated from all stored entities it applies to.

READY = 2;

STATE_UNSPECIFIED

The state is unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The state is unspecified.

STATE_UNSPECIFIED = 0;

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