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 Type
    Method
    Description
    The new state of the [Document][google.firestore.v1.Document].
    The new state of the [Document][google.firestore.v1.Document].
    int
    A set of target IDs for targets that no longer match this document.
    int
    A 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.
    int
    getTargetIds(int index)
    A set of target IDs of targets that match this document.
    int
    A set of target IDs of targets that match this document.
    A set of target IDs of targets that match this document.
    boolean
    The new state of the [Document][google.firestore.v1.Document].

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<Integer> 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

      List<Integer> 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.