Enum TargetChange.TargetChangeType (3.7.3)

Stay organized with collections Save and categorize content based on your preferences.
public enum TargetChange.TargetChangeType extends Enum<TargetChange.TargetChangeType> implements ProtocolMessageEnum

The type of change.

Protobuf enum google.firestore.v1.TargetChange.TargetChangeType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ADD

The targets have been added.

ADD = 1;

ADD_VALUE

The targets have been added.

ADD = 1;

CURRENT

The targets reflect all changes committed before the targets were added to the stream. This will be sent after or with a read_time that is greater than or equal to the time at which the targets were added. Listeners can wait for this change if read-after-write semantics are desired.

CURRENT = 3;

CURRENT_VALUE

The targets reflect all changes committed before the targets were added to the stream. This will be sent after or with a read_time that is greater than or equal to the time at which the targets were added. Listeners can wait for this change if read-after-write semantics are desired.

CURRENT = 3;

NO_CHANGE

No change has occurred. Used only to send an updated resume_token.

NO_CHANGE = 0;

NO_CHANGE_VALUE

No change has occurred. Used only to send an updated resume_token.

NO_CHANGE = 0;

REMOVE

The targets have been removed.

REMOVE = 2;

REMOVE_VALUE

The targets have been removed.

REMOVE = 2;

RESET

The targets have been reset, and a new initial state for the targets will be returned in subsequent changes. After the initial state is complete, CURRENT will be returned even if the target was previously indicated to be CURRENT.

RESET = 4;

RESET_VALUE

The targets have been reset, and a new initial state for the targets will be returned in subsequent changes. After the initial state is complete, CURRENT will be returned even if the target was previously indicated to be CURRENT.

RESET = 4;

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