Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
Automatically decide field type, generate static field if possible.
Always generate a callback field.
Always generate a dynamically allocated field.
Generate a static field or raise an exception if not possible.
Ignore the field completely.
Legacy option, use the separate 'fixed_length' option instead
Used in:
Default, 32/64bit based on type in .proto
This is the inner options message, which basically defines options for a field. When it is used in message or file scope, it applies to all fields.
Allocated size for 'bytes' and 'string' fields. For string fields, this should include the space for null terminator.
Maximum length for 'string' fields. Setting this is equivalent to setting max_size to a value of length+1.
Allocated number of entries in arrays ('repeated' fields)
Size of integer fields. Can save some memory if you don't need full 32 bits for the value.
Force type of field (callback or static allocation)
Use long names for enums, i.e. EnumName_EnumValue.
Add 'packed' attribute to generated structs. Note: this cannot be used on CPUs that break on unaligned accesses to variables.
Add 'packed' attribute to generated enums.
Skip this message
Generate oneof fields as normal optional fields instead of union.
integer type tag for a message
decode oneof as anonymous union
Proto3 singular field does not generate a "has_" flag
Generate an enum->string mapping function (can take up lots of space).
Generate bytes arrays with fixed length
Generate repeated field with fixed count
Mangle long names
Used in:
Default, no typename mangling
Strip current package name
Only use last path component