withMask

public B withMask(Iterable<String> fieldNames)

Sets the entity fields to retrieve.

The names of the fields must be formatted according to the FieldMask specification.

If there are no fields (i.e. an empty Iterable is passed), all the fields will be retrieved.

Return

self for method chaining

Parameters

fieldNames

the fields to query


public B withMask(Array<String> fieldNames)

Sets the entity fields to retrieve.

The names of the fields must be formatted according to the FieldMask specification.

If there are no fields (i.e. an empty array is passed), all the fields will be retrieved.

Return

self for method chaining

Parameters

fieldNames

the fields to query