public static void writeEnumField(
      String fieldName, ProtocolMessageEnum e, JsonGenerator gen) throws IOException {
    gen.writeNumberField(fieldName, e.getNumber());
  }
public static void writeEnumField(
      String fieldName, ProtocolMessageEnum e, JsonGenerator gen) throws IOException {
    gen.writeNumberField(fieldName, e.getNumber());
  }
public static void writeEnumField ( String fieldName , ProtocolMessageEnum e , JsonGenerator gen ) throws IOException { gen . writeNumberField ( fieldName , e . getNumber ( ) ) ; }
Writes a enum value as an int, using its Protobuf number.
Writes a enum value as an int using its Protobuf number .