Interface StructuredQuery.ProjectionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StructuredQuery.Projection, StructuredQuery.Projection.Builder
Enclosing class:
StructuredQuery

public static interface StructuredQuery.ProjectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getFieldsList

       The fields to return.
      
       If empty, all fields are returned. To only return the name
       of the document, use `['__name__']`.
       
      repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
    • getFields

      StructuredQuery.FieldReference getFields(int index)
       The fields to return.
      
       If empty, all fields are returned. To only return the name
       of the document, use `['__name__']`.
       
      repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
    • getFieldsCount

      int getFieldsCount()
       The fields to return.
      
       If empty, all fields are returned. To only return the name
       of the document, use `['__name__']`.
       
      repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
    • getFieldsOrBuilderList

      List<? extends StructuredQuery.FieldReferenceOrBuilder> getFieldsOrBuilderList()
       The fields to return.
      
       If empty, all fields are returned. To only return the name
       of the document, use `['__name__']`.
       
      repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
    • getFieldsOrBuilder

      StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index)
       The fields to return.
      
       If empty, all fields are returned. To only return the name
       of the document, use `['__name__']`.
       
      repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;