code: public static String getRepeatedFieldGetterName(Field field) {
          if (field.isRepeated()) {
              return GETTER_PREFIX + Formatter.toPascalCase(field.getName()) + GETTER_REPEATED_SUFFIX;
          }
          throw new IllegalArgumentException(field.toString());
      }
docs: Returns a java field getter name for proto repeated field.