Note that value (key:value) for some options are optional. The option generate_field_map:false does not disable the option - remove the entry instead to disable.

In maven, you would declare the key:value as:

<property>
<name>Foo.implements_declaration</name> <!-- key -->
<value>implements com.example.Bar</value> <!-- value -->
</property>


# All generators

compile_imports : true|false|recursive - after the target proto is compiled, compile the imported protos as well. If recursive, the imported protos of it’s imported protos will be compiled as well (so on and so forth).

header_source_path - the source path (org/example/foo.proto) will be printed (as a comment) in the header. By default, it only prints the name (foo.proto)

# java_v2protoc_schema

generate_field_map - generates a mapping between the field number and field name. If on, you can serialize json encoded messages writing either its field name or field number.

boolean numeric = false;
JsonIOUtil.writeTo(out, message, numeric);


enums_by_name - serialize enums using their name instead of their number.

# java_bean_me

a variant of java_bean compiler that produces j2me-compatible messages/schemas.