Skip to main content

Module plugin

Module plugin 

Source
Expand description

Protoc plugin protocol types.

Re-exports the CodeGeneratorRequest/Response types from buffa-codegen’s bootstrapped descriptor types. These are buffa-generated message structs that implement buffa::Message for decoding/encoding the protoc plugin protocol.

Structs§

CodeGeneratorRequest
An encoded CodeGeneratorRequest is written to the plugin’s stdin.
CodeGeneratorResponse
The plugin writes an encoded CodeGeneratorResponse to stdout.
CodeGeneratorResponseFile
Represents a single generated file.

Enums§

CodeGeneratorResponseFeature
Sync with code_generator.h.