p
protocgen
package protocgen
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait CodeGenApp extends ProtocCodeGenerator
CodeGenApp provides a higher-level Scala API to build protoc code generators.
CodeGenApp provides a higher-level Scala API to build protoc code generators.
As a code generator author, you need to optionally provide a
registerExtensions
function to register any extensions needed for parsing the CodeGeneratorRequest.The implement the function process that takes a CodeGenRequest and returns a CodeGenResponse. These classes provides higher-level, idiomatic access to the request and response used by protoc.
- case class CodeGenRequest(parameter: String, filesToGenerate: Seq[FileDescriptor], allProtos: Seq[FileDescriptor], compilerVersion: Option[Version]) extends Product with Serializable
- sealed trait CodeGenResponse extends AnyRef
Value Members
- object CodeGenRequest extends Serializable
- object CodeGenResponse