Class FieldMask (3.21.4)

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
Name Description
fieldPaths FieldPath[]

A list of field paths.

Returns
Type Description
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
Name Description
fieldPaths String[]

A list of field paths.

Returns
Type Description
FieldMask

A FieldMask that describes a subset of fields.