protobuf v0.8.0-beta.1 Protobuf.DSL

Link to this section Summary

Functions

Define "extend" for a message(the first argument module)

Define extensions range in the message module to allow extensions for this module

Define a field in the message module

Define oneof in the message module

Link to this section Functions

Link to this macro

extend(mod, name, fnum, options) (macro)

Define "extend" for a message(the first argument module).

Link to this macro

extensions(ranges) (macro)

Define extensions range in the message module to allow extensions for this module.

Link to this macro

field(name, fnum, options \\ []) (macro)

Define a field in the message module.

Link to this macro

oneof(name, index) (macro)

Define oneof in the message module.