Interface StructuredQuery.ProjectionOrBuilder (3.21.4)

public static interface StructuredQuery.ProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFields(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
StructuredQuery.FieldReference

getFieldsCount()

public abstract 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;

Returns
Type Description
int

getFieldsList()

public abstract 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;

Returns
Type Description
List<FieldReference>

getFieldsOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
StructuredQuery.FieldReferenceOrBuilder

getFieldsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>