final case class MessageOptions(extends: Seq[String] = _root_.scala.Seq.empty, companionExtends: Seq[String] = _root_.scala.Seq.empty, annotations: Seq[String] = _root_.scala.Seq.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Seq.empty, sealedOneofExtends: Seq[String] = _root_.scala.Seq.empty, noBox: Option[Boolean] = _root_.scala.None, unknownFieldsAnnotations: Seq[String] = _root_.scala.Seq.empty, noDefaultValuesInConstructor: Option[Boolean] = _root_.scala.None, sealedOneofCompanionExtends: Seq[String] = _root_.scala.Seq.empty, derives: Seq[String] = _root_.scala.Seq.empty, sealedOneofDerives: Seq[String] = _root_.scala.Seq.empty, sealedOneofEmptyExtends: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[MessageOptions] with ExtendableMessage[MessageOptions] with Product with Serializable
- extends
Additional classes and traits to mix in to the case class.
- companionExtends
Additional classes and traits to mix in to the companion object.
- annotations
Custom annotations to add to the generated case class.
- type
All instances of this message will be converted to this type. An implicit TypeMapper must be present.
- companionAnnotations
Custom annotations to add to the companion object of the generated class.
- sealedOneofExtends
Additional classes and traits to mix in to generated sealed_oneof base trait.
- 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_box
to true on each field with the message type.- unknownFieldsAnnotations
Custom annotations to add to the generated
unknownFields
case class field.- 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.
- derives
Adds a derives clause to the message case class
- 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.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- MessageOptions
- ExtendableMessage
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MessageOptions(extends: Seq[String] = _root_.scala.Seq.empty, companionExtends: Seq[String] = _root_.scala.Seq.empty, annotations: Seq[String] = _root_.scala.Seq.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Seq.empty, sealedOneofExtends: Seq[String] = _root_.scala.Seq.empty, noBox: Option[Boolean] = _root_.scala.None, unknownFieldsAnnotations: Seq[String] = _root_.scala.Seq.empty, noDefaultValuesInConstructor: Option[Boolean] = _root_.scala.None, sealedOneofCompanionExtends: Seq[String] = _root_.scala.Seq.empty, derives: Seq[String] = _root_.scala.Seq.empty, sealedOneofDerives: Seq[String] = _root_.scala.Seq.empty, sealedOneofEmptyExtends: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- extends
Additional classes and traits to mix in to the case class.
- companionExtends
Additional classes and traits to mix in to the companion object.
- annotations
Custom annotations to add to the generated case class.
- type
All instances of this message will be converted to this type. An implicit TypeMapper must be present.
- companionAnnotations
Custom annotations to add to the companion object of the generated class.
- sealedOneofExtends
Additional classes and traits to mix in to generated sealed_oneof base trait.
- 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_box
to true on each field with the message type.- unknownFieldsAnnotations
Custom annotations to add to the generated
unknownFields
case class field.- 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.
- derives
Adds a derives clause to the message case class
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllAnnotations(__vs: Iterable[String]): MessageOptions
- def addAllCompanionAnnotations(__vs: Iterable[String]): MessageOptions
- def addAllCompanionExtends(__vs: Iterable[String]): MessageOptions
- def addAllDerives(__vs: Iterable[String]): MessageOptions
- def addAllExtends(__vs: Iterable[String]): MessageOptions
- def addAllSealedOneofCompanionExtends(__vs: Iterable[String]): MessageOptions
- def addAllSealedOneofDerives(__vs: Iterable[String]): MessageOptions
- def addAllSealedOneofEmptyExtends(__vs: Iterable[String]): MessageOptions
- def addAllSealedOneofExtends(__vs: Iterable[String]): MessageOptions
- def addAllUnknownFieldsAnnotations(__vs: Iterable[String]): MessageOptions
- def addAnnotations(__vs: String*): MessageOptions
- def addCompanionAnnotations(__vs: String*): MessageOptions
- def addCompanionExtends(__vs: String*): MessageOptions
- def addDerives(__vs: String*): MessageOptions
- def addExtends(__vs: String*): MessageOptions
- def addSealedOneofCompanionExtends(__vs: String*): MessageOptions
- def addSealedOneofDerives(__vs: String*): MessageOptions
- def addSealedOneofEmptyExtends(__vs: String*): MessageOptions
- def addSealedOneofExtends(__vs: String*): MessageOptions
- def addUnknownFieldsAnnotations(__vs: String*): MessageOptions
- val annotations: Seq[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAnnotations: MessageOptions
- def clearCompanionAnnotations: MessageOptions
- def clearCompanionExtends: MessageOptions
- def clearDerives: MessageOptions
- def clearExtends: MessageOptions
- def clearNoBox: MessageOptions
- def clearNoDefaultValuesInConstructor: MessageOptions
- def clearSealedOneofCompanionExtends: MessageOptions
- def clearSealedOneofDerives: MessageOptions
- def clearSealedOneofEmptyExtends: MessageOptions
- def clearSealedOneofExtends: MessageOptions
- def clearType: MessageOptions
- def clearUnknownFieldsAnnotations: MessageOptions
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: MessageOptions.type
- Definition Classes
- MessageOptions → GeneratedMessage
- val companionAnnotations: Seq[String]
- val companionExtends: Seq[String]
- val derives: Seq[String]
- def discardUnknownFields: MessageOptions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extends: Seq[String]
-
def
extension[T](generatedExtension: GeneratedExtension[MessageOptions, T]): T
- Definition Classes
- ExtendableMessage
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- MessageOptions → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- MessageOptions → GeneratedMessage
- def getNoBox: Boolean
- def getNoDefaultValuesInConstructor: Boolean
- def getType: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noBox: Option[Boolean]
- val noDefaultValuesInConstructor: Option[Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val sealedOneofCompanionExtends: Seq[String]
- val sealedOneofDerives: Seq[String]
- val sealedOneofEmptyExtends: Seq[String]
- val sealedOneofExtends: Seq[String]
-
def
serializedSize: Int
- Definition Classes
- MessageOptions → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
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.
- returns
human-readable representation of this message.
- Definition Classes
- MessageOptions → GeneratedMessage
- val type: Option[String]
-
val
unknownFields: UnknownFieldSet
- Definition Classes
- MessageOptions → ExtendableMessage
- val unknownFieldsAnnotations: Seq[String]
-
def
update(ms: (Lens[MessageOptions, MessageOptions]) ⇒ Mutation[MessageOptions]*): MessageOptions
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionExtends(__v: Seq[String]): MessageOptions
- def withDerives(__v: Seq[String]): MessageOptions
- def withExtends(__v: Seq[String]): MessageOptions
-
def
withExtension[T](generatedExtension: GeneratedExtension[MessageOptions, T])(value: T): MessageOptions
- Definition Classes
- ExtendableMessage
- def withNoBox(__v: Boolean): MessageOptions
- def withNoDefaultValuesInConstructor(__v: Boolean): MessageOptions
- def withSealedOneofCompanionExtends(__v: Seq[String]): MessageOptions
- def withSealedOneofDerives(__v: Seq[String]): MessageOptions
- def withSealedOneofEmptyExtends(__v: Seq[String]): MessageOptions
- def withSealedOneofExtends(__v: Seq[String]): MessageOptions
- def withType(__v: String): MessageOptions
-
def
withUnknownFields(__v: UnknownFieldSet): MessageOptions
- Definition Classes
- MessageOptions → ExtendableMessage
- def withUnknownFieldsAnnotations(__v: Seq[String]): MessageOptions
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
- Definition Classes
- MessageOptions → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
Serializes the message into the given output stream
Serializes the message into the given output stream
- Definition Classes
- GeneratedMessage