Class FieldMask (3.8.2)

public final class FieldMask

A FieldMask can be used to limit the number of fields returned by a getAll() call.

Inheritance

java.lang.Object > FieldMask

Static Methods

of(FieldPath[] fieldPaths)

public static FieldMask of(FieldPath[] fieldPaths)

Creates a FieldMask from the provided field paths.

Parameter
NameDescription
fieldPathsFieldPath[]

A list of field paths.

Returns
TypeDescription
FieldMask

A FieldMask that describes a subset of fields.

of(String[] fieldPaths)

public static FieldMask of(String[] fieldPaths)

Creates a FieldMask from the provided field paths.

Parameter
NameDescription
fieldPathsString[]

A list of field paths.

Returns
TypeDescription
FieldMask

A FieldMask that describes a subset of fields.