Protocol Buffers

New Plugin for Generating Type Safe Scala Wrappers

Jessica Thornsby

New compiler plugin that generates type safe Scala wrappers for the Java protoc output.

Protocol Buffers is a new compiler plugin that generates type safe Scala wrappers for the Java protoc output. Protocol Buffers creates wrappers for each message type using the Scala option type for all optional values, and forces required parameters to be included in the constructor of the builder.

A description of the output can be viewed now.

Author
Comments
comments powered by Disqus