code: @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);
    }
docs: Creates a FieldMask from the provided field paths.
  
  @param fieldPaths A list of field paths.
  @return A {@code FieldMask} that describes a subset of fields.