com.google.protobuf.compiler.plugin.CodeGeneratorResponse
See theCodeGeneratorResponse companion object
final case class CodeGeneratorResponse(error: Option[String], supportedFeatures: Option[Long], file: Seq[File], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[CodeGeneratorResponse]
The plugin writes an encoded CodeGeneratorResponse to stdout.
Attributes
- error
Error message. If non-empty, code generation failed. The plugin process should exit with status code zero even if it reports an error in this way. This should be used to indicate errors in .proto files which prevent the code generator from generating correct code. Errors which indicate a problem in protoc itself -- such as the input CodeGeneratorRequest being unparseable -- should be reported by writing a message to stderr and exiting with a non-zero status code.
- supportedFeatures
A bitmask of supported features that the code generator supports. This is a bitwise "or" of values from the Feature enum.
- Companion:
- object
- Graph
- Supertypes
- trait Updatable[CodeGeneratorResponse]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any