Package com.google.firestore.v1
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 Summary
Modifier and TypeMethodDescriptiongetFields(int index) The fields to return.intThe fields to return.The fields to return.getFieldsOrBuilder(int index) The fields to return.List<? extends StructuredQuery.FieldReferenceOrBuilder>The fields to return.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
-
getFieldsList
List<StructuredQuery.FieldReference> 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
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
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;
-