Package com.google.firestore.v1
Interface DocumentChangeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentChange,DocumentChange.Builder
public interface DocumentChangeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe new state of the [Document][google.firestore.v1.Document].The new state of the [Document][google.firestore.v1.Document].intgetRemovedTargetIds(int index) A set of target IDs for targets that no longer match this document.intA set of target IDs for targets that no longer match this document.A set of target IDs for targets that no longer match this document.intgetTargetIds(int index) A set of target IDs of targets that match this document.intA set of target IDs of targets that match this document.A set of target IDs of targets that match this document.booleanThe new state of the [Document][google.firestore.v1.Document].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDocument
boolean hasDocument()The new state of the [Document][google.firestore.v1.Document]. If `mask` is set, contains only fields that were updated or added.
.google.firestore.v1.Document document = 1;- Returns:
- Whether the document field is set.
-
getDocument
Document getDocument()The new state of the [Document][google.firestore.v1.Document]. If `mask` is set, contains only fields that were updated or added.
.google.firestore.v1.Document document = 1;- Returns:
- The document.
-
getDocumentOrBuilder
DocumentOrBuilder getDocumentOrBuilder()The new state of the [Document][google.firestore.v1.Document]. If `mask` is set, contains only fields that were updated or added.
.google.firestore.v1.Document document = 1; -
getTargetIdsList
A set of target IDs of targets that match this document.
repeated int32 target_ids = 5;- Returns:
- A list containing the targetIds.
-
getTargetIdsCount
int getTargetIdsCount()A set of target IDs of targets that match this document.
repeated int32 target_ids = 5;- Returns:
- The count of targetIds.
-
getTargetIds
int getTargetIds(int index) A set of target IDs of targets that match this document.
repeated int32 target_ids = 5;- Parameters:
index- The index of the element to return.- Returns:
- The targetIds at the given index.
-
getRemovedTargetIdsList
A set of target IDs for targets that no longer match this document.
repeated int32 removed_target_ids = 6;- Returns:
- A list containing the removedTargetIds.
-
getRemovedTargetIdsCount
int getRemovedTargetIdsCount()A set of target IDs for targets that no longer match this document.
repeated int32 removed_target_ids = 6;- Returns:
- The count of removedTargetIds.
-
getRemovedTargetIds
int getRemovedTargetIds(int index) A set of target IDs for targets that no longer match this document.
repeated int32 removed_target_ids = 6;- Parameters:
index- The index of the element to return.- Returns:
- The removedTargetIds at the given index.
-