@ Nonnull public static FieldMask of ( String ... fieldPaths ) { List < FieldPath > paths = new ArrayList <> ( ) ; for ( String fieldPath : fieldPaths ) { paths . add ( FieldPath . fromDotSeparatedString ( fieldPath ) ) ; } return new FieldMask ( paths ) ; }
Creates a FieldMask from the provided field paths .