Kotlin Output
Properties
If a oneof has more than or boxOneOfsMinSize fields, it will be generated using boxed oneofs as defined in OneOf.
If true, the constructor of all generated types will be non-public, and they will be instantiable via their builders, regardless of the value of javaInterop.
True to emit annotations for options applied on messages, fields, etc.
True to emit types for options declared on messages, fields, etc.
If true, Kotlin keywords are escaped with backticks. If false, an underscore is added as a suffix.
If true, generated enums will have an extra UNRECOGNIZED
constant with a value of -1
. This only applies to enum which syntax is proto3.
True for emitted types to implement APIs for easier migration from the Java target.
If present, generated services classes will use this as a suffix instead of inferring one from the rpcRole.
Set this to override the default output directory for this WireOutput.
Blocking or suspending.
True for emitted services to implement one interface per RPC.
Functions
Transforms this WireOutput into a Target for which Wire will generate code. The Target should use outputDirectory instead of WireOutput.out in all cases for its output directory.