MessagePrinter

nscn.polaris2.protoc.codegen.MessagePrinter
final class MessagePrinter(descriptor: Descriptor, ctx: GenContext)

Emits a proto message as a Scala 3 case class plus its companion.

The shape is fixed by runtime/test's hand-written Person, which is checked against protobuf-java's class for the same schema. Reading that file alongside this one is the quickest way to see what any given piece here is building.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods