public enum Field.TtlConfig.State extends Enum<Field.TtlConfig.State> implements ProtocolMessageEnum
The state of applying the TTL configuration to all documents.
Protobuf enum google.firestore.admin.v1.Field.TtlConfig.State
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
ACTIVE | The TTL is active for all documents. |
ACTIVE_VALUE | The TTL is active for all documents. |
CREATING | The TTL is being applied. There is an active long-running operation to track the change. Newly written documents will have TTLs applied as requested. Requested TTLs on existing documents are still being processed. When TTLs on all existing documents have been processed, the state will move to 'ACTIVE'. |
CREATING_VALUE | The TTL is being applied. There is an active long-running operation to track the change. Newly written documents will have TTLs applied as requested. Requested TTLs on existing documents are still being processed. When TTLs on all existing documents have been processed, the state will move to 'ACTIVE'. |
NEEDS_REPAIR | The TTL configuration could not be enabled for all existing documents.
Newly written documents will continue to have their TTL applied.
The LRO returned when last attempting to enable TTL for this |
NEEDS_REPAIR_VALUE | The TTL configuration could not be enabled for all existing documents.
Newly written documents will continue to have their TTL applied.
The LRO returned when last attempting to enable TTL for this |
STATE_UNSPECIFIED | The state is unspecified or unknown. |
STATE_UNSPECIFIED_VALUE | The state is unspecified or unknown. |
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() |