code: public static String getRepeatedFieldSetterName(Field field) {
          if (field.isRepeated()) {
              return SETTER_PREFIX + Formatter.toPascalCase(field.getName());
          }
          throw new IllegalArgumentException(field.toString());
      }
docs: Returns a field setter name for proto repeated field.