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