Interface DocumentChangeOrBuilder (3.22.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the document field is set.