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, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) 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.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- MessageOptions
- Product
- Equals
- ExtendableMessage
- Updatable
- GeneratedMessage
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- 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.
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 addAllExtends(__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 addExtends(__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 clearExtends: MessageOptions
- def clearNoBox: MessageOptions
- def clearSealedOneofExtends: MessageOptions
- def clearType: MessageOptions
- def clearUnknownFieldsAnnotations: MessageOptions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: MessageOptions
- Definition Classes
- MessageOptions → GeneratedMessage
- val companionAnnotations: Seq[String]
- val companionExtends: 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[_ <: AnyRef]
- 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 getType: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noBox: Option[Boolean]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionAnnotations(__v: Seq[String]): MessageOptions
- def withCompanionExtends(__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 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
- Definition Classes
- MessageOptions → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage