Interface DocumentChangeOrBuilder (3.15.0)

public interface DocumentChangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

The new state of the Document.

If mask is set, contains only fields that were updated or added.

.google.firestore.v1.Document document = 1;

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

The new state of the Document.

If mask is set, contains only fields that were updated or added.

.google.firestore.v1.Document document = 1;

Returns
TypeDescription
DocumentOrBuilder

getRemovedTargetIds(int index)

public abstract int getRemovedTargetIds(int index)

A set of target IDs for targets that no longer match this document.

repeated int32 removed_target_ids = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The removedTargetIds at the given index.

getRemovedTargetIdsCount()

public abstract int getRemovedTargetIdsCount()

A set of target IDs for targets that no longer match this document.

repeated int32 removed_target_ids = 6;

Returns
TypeDescription
int

The count of removedTargetIds.

getRemovedTargetIdsList()

public abstract List<Integer> getRemovedTargetIdsList()

A set of target IDs for targets that no longer match this document.

repeated int32 removed_target_ids = 6;

Returns
TypeDescription
List<Integer>

A list containing the removedTargetIds.

getTargetIds(int index)

public abstract int getTargetIds(int index)

A set of target IDs of targets that match this document.

repeated int32 target_ids = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The targetIds at the given index.

getTargetIdsCount()

public abstract int getTargetIdsCount()

A set of target IDs of targets that match this document.

repeated int32 target_ids = 5;

Returns
TypeDescription
int

The count of targetIds.

getTargetIdsList()

public abstract List<Integer> getTargetIdsList()

A set of target IDs of targets that match this document.

repeated int32 target_ids = 5;

Returns
TypeDescription
List<Integer>

A list containing the targetIds.

hasDocument()

public abstract boolean hasDocument()

The new state of the Document.

If mask is set, contains only fields that were updated or added.

.google.firestore.v1.Document document = 1;

Returns
TypeDescription
boolean

Whether the document field is set.