ProtocCodeGenerator

nscn.polaris2.protoc.bridge.ProtocCodeGenerator
See theProtocCodeGenerator companion object

The raw interface a protoc code generator implements: bytes of a CodeGeneratorRequest in, bytes of a CodeGeneratorResponse out.

Generator authors normally implement nscn.polaris2.protoc.bridge.codegen.CodeGenApp instead, which decodes the request into resolved FileDescriptors.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CodeGenApp

Members list

Value members

Abstract methods

def name: String
def run(request: Array[Byte]): Array[Byte]

Concrete methods

Artifacts the generated code needs on the consumer's classpath.

Artifacts the generated code needs on the consumer's classpath.

Attributes