FieldMasks

public final class FieldMasks

A utility class for creating instances of FieldMask and processing them against instances of Message.

Functions

Link copied to clipboard
public static M applyMask<M extends Message>(FieldMask mask, M message)
Applies the FieldMask to the given Message if the mask parameter is valid.
public static Collection<M> applyMask<M extends Message>(FieldMask mask, Collection<M> messages)
Applies the given FieldMask to given collection of Messages.