If set then it overrides the java_package and package.
If true, the compiler does not append the proto base file name into the generated package name. If false (the default), the generated scala package name is the package_name.basename where basename is the proto file name without the .proto extension.
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
Text to add to the generated scala file. This can be used only when single_file is true.
If true, all messages and enums (but not services) will be written to a single Scala file.
By default, wrappers defined at https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto, are mapped to an Option[T] where T is a primitive type. When this field is set to true, we do not perform this transformation.
DEPRECATED. In ScalaPB <= 0.5.47, it was necessary to explicitly enable
primitive_wrappers. This field remains here for backwards compatibility,
but it has no effect on generated code. It is an error to set both
primitive_wrappers
and no_primitive_wrappers
.
Scala type to be used for repeated fields. If unspecified,
scala.collection.Seq
will be used.
If set to true, all generated messages in this file will preserve unknown fields.
If defined, sets the name of the file-level object that would be generated. This
object extends GeneratedFileObject
and contains descriptors, and list of message
and enum companions.
For use in tests only. Inhibit Java conversions even when when generator parameters request for it.
Scala type to be used for repeated fields.
Scala type to be used for repeated fields. If unspecified,
scala.collection.Seq
will be used.
If true, the compiler does not append the proto base file name into the generated package name.
If true, the compiler does not append the proto base file name into the generated package name. If false (the default), the generated scala package name is the package_name.basename where basename is the proto file name without the .proto extension.
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
By default, wrappers defined at https://github.
By default, wrappers defined at https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto, are mapped to an Option[T] where T is a primitive type. When this field is set to true, we do not perform this transformation.
If defined, sets the name of the file-level object that would be generated.
If defined, sets the name of the file-level object that would be generated. This
object extends GeneratedFileObject
and contains descriptors, and list of message
and enum companions.
If set then it overrides the java_package and package.
Text to add to the generated scala file.
Text to add to the generated scala file. This can be used only when single_file is true.
If set to true, all generated messages in this file will preserve unknown fields.
DEPRECATED.
DEPRECATED. In ScalaPB <= 0.5.47, it was necessary to explicitly enable
primitive_wrappers. This field remains here for backwards compatibility,
but it has no effect on generated code. It is an error to set both
primitive_wrappers
and no_primitive_wrappers
.
If true, all messages and enums (but not services) will be written to a single Scala file.
For use in tests only.
For use in tests only. Inhibit Java conversions even when when generator parameters request for it.
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
human-readable representation of this message.
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
If set then it overrides the java_package and package.
If true, the compiler does not append the proto base file name into the generated package name. If false (the default), the generated scala package name is the package_name.basename where basename is the proto file name without the .proto extension.
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
Text to add to the generated scala file. This can be used only when single_file is true.
If true, all messages and enums (but not services) will be written to a single Scala file.
By default, wrappers defined at https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto, are mapped to an Option[T] where T is a primitive type. When this field is set to true, we do not perform this transformation.
DEPRECATED. In ScalaPB <= 0.5.47, it was necessary to explicitly enable primitive_wrappers. This field remains here for backwards compatibility, but it has no effect on generated code. It is an error to set both
primitive_wrappers
andno_primitive_wrappers
.Scala type to be used for repeated fields. If unspecified,
scala.collection.Seq
will be used.If set to true, all generated messages in this file will preserve unknown fields.
If defined, sets the name of the file-level object that would be generated. This object extends
GeneratedFileObject
and contains descriptors, and list of message and enum companions.For use in tests only. Inhibit Java conversions even when when generator parameters request for it.