Value parameters
- annotations
-
Custom annotations to add to the generated case class.
- companionAnnotations
-
Custom annotations to add to the companion object of the generated class.
- companionExtends
-
Additional classes and traits to mix in to the companion object.
- derives
-
Adds a derives clause to the message case class
- extends
-
Additional classes and traits to mix in to the case class.
- noBox
-
If true, when this message is used as an optional field, do not wrap it in an
Option. This is equivalent of setting(field).no_boxto true on each field with the message type. - noDefaultValuesInConstructor
-
If true, no default values will be generated in message constructors. If set (to true or false), the message-level setting overrides the file-level value, and can be overridden by the field-level setting.
- sealedOneofCompanionExtends
-
Additional classes and traits to mix in to generated sealed oneof base trait's companion object.
- sealedOneofDerives
-
Additional classes and traits to add to the derives clause of a sealed oneof.
- sealedOneofEmptyExtends
-
Additional traits to mixin for the empty case object of sealed oneofs.
- sealedOneofExtends
-
Additional classes and traits to mix in to generated sealed_oneof base trait.
- type
-
All instances of this message will be converted to this type. An implicit TypeMapper must be present.
- unknownFieldsAnnotations
-
Custom annotations to add to the generated
unknownFieldscase class field.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ExtendableMessage[MessageOptions]trait Updatable[MessageOptions]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any