final case class MessageOptions(extends: Seq[String] = _root_.scala.Vector.empty, companionExtends: Seq[String] = _root_.scala.Vector.empty, annotations: Seq[String] = _root_.scala.Vector.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Vector.empty, sealedOneofExtends: Seq[String] = _root_.scala.Vector.empty, noBox: Option[Boolean] = _root_.scala.None, unknownFieldsAnnotations: Seq[String] = _root_.scala.Vector.empty, noDefaultValuesInConstructor: Option[Boolean] = _root_.scala.None, sealedOneofCompanionExtends: Seq[String] = _root_.scala.Vector.empty, derives: Seq[String] = _root_.scala.Vector.empty, sealedOneofDerives: Seq[String] = _root_.scala.Vector.empty, sealedOneofEmptyExtends: Seq[String] = _root_.scala.Vector.empty, lazyUtf8StringFields: Option[Boolean] = _root_.scala.None, sealedOneofStyle: Option[SealedOneofStyle] = _root_.scala.None, 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.

lazyUtf8StringFields

If true, string fields are generated as LazyField[String] to avoid allocations when parsing. If set, this overrides the file-level setting.

sealedOneofStyle

Explicit styles enable sealed oneofs regardless of the oneof's name and override the naming convention. The existing sealed-oneof rules still apply.

Annotations
@SerialVersionUID()
Linear Supertypes
ExtendableMessage[MessageOptions], Updatable[MessageOptions], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageOptions
  2. ExtendableMessage
  3. Updatable
  4. GeneratedMessage
  5. Serializable
  6. Serializable
  7. Product
  8. Equals
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MessageOptions(extends: Seq[String] = _root_.scala.Vector.empty, companionExtends: Seq[String] = _root_.scala.Vector.empty, annotations: Seq[String] = _root_.scala.Vector.empty, type: Option[String] = _root_.scala.None, companionAnnotations: Seq[String] = _root_.scala.Vector.empty, sealedOneofExtends: Seq[String] = _root_.scala.Vector.empty, noBox: Option[Boolean] = _root_.scala.None, unknownFieldsAnnotations: Seq[String] = _root_.scala.Vector.empty, noDefaultValuesInConstructor: Option[Boolean] = _root_.scala.None, sealedOneofCompanionExtends: Seq[String] = _root_.scala.Vector.empty, derives: Seq[String] = _root_.scala.Vector.empty, sealedOneofDerives: Seq[String] = _root_.scala.Vector.empty, sealedOneofEmptyExtends: Seq[String] = _root_.scala.Vector.empty, lazyUtf8StringFields: Option[Boolean] = _root_.scala.None, sealedOneofStyle: Option[SealedOneofStyle] = _root_.scala.None, 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.

    lazyUtf8StringFields

    If true, string fields are generated as LazyField[String] to avoid allocations when parsing. If set, this overrides the file-level setting.

    sealedOneofStyle

    Explicit styles enable sealed oneofs regardless of the oneof's name and override the naming convention. The existing sealed-oneof rules still apply.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllAnnotations(__vs: Iterable[String]): MessageOptions
  5. def addAllCompanionAnnotations(__vs: Iterable[String]): MessageOptions
  6. def addAllCompanionExtends(__vs: Iterable[String]): MessageOptions
  7. def addAllDerives(__vs: Iterable[String]): MessageOptions
  8. def addAllExtends(__vs: Iterable[String]): MessageOptions
  9. def addAllSealedOneofCompanionExtends(__vs: Iterable[String]): MessageOptions
  10. def addAllSealedOneofDerives(__vs: Iterable[String]): MessageOptions
  11. def addAllSealedOneofEmptyExtends(__vs: Iterable[String]): MessageOptions
  12. def addAllSealedOneofExtends(__vs: Iterable[String]): MessageOptions
  13. def addAllUnknownFieldsAnnotations(__vs: Iterable[String]): MessageOptions
  14. def addAnnotations(__vs: String*): MessageOptions
  15. def addCompanionAnnotations(__vs: String*): MessageOptions
  16. def addCompanionExtends(__vs: String*): MessageOptions
  17. def addDerives(__vs: String*): MessageOptions
  18. def addExtends(__vs: String*): MessageOptions
  19. def addSealedOneofCompanionExtends(__vs: String*): MessageOptions
  20. def addSealedOneofDerives(__vs: String*): MessageOptions
  21. def addSealedOneofEmptyExtends(__vs: String*): MessageOptions
  22. def addSealedOneofExtends(__vs: String*): MessageOptions
  23. def addUnknownFieldsAnnotations(__vs: String*): MessageOptions
  24. val annotations: Seq[String]
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def clearAnnotations: MessageOptions
  27. def clearCompanionAnnotations: MessageOptions
  28. def clearCompanionExtends: MessageOptions
  29. def clearDerives: MessageOptions
  30. def clearExtends: MessageOptions
  31. def clearLazyUtf8StringFields: MessageOptions
  32. def clearNoBox: MessageOptions
  33. def clearNoDefaultValuesInConstructor: MessageOptions
  34. def clearSealedOneofCompanionExtends: MessageOptions
  35. def clearSealedOneofDerives: MessageOptions
  36. def clearSealedOneofEmptyExtends: MessageOptions
  37. def clearSealedOneofExtends: MessageOptions
  38. def clearSealedOneofStyle: MessageOptions
  39. def clearType: MessageOptions
  40. def clearUnknownFieldsAnnotations: MessageOptions
  41. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. def companion: MessageOptions.type
    Definition Classes
    MessageOptions → GeneratedMessage
  43. val companionAnnotations: Seq[String]
  44. val companionExtends: Seq[String]
  45. val derives: Seq[String]
  46. def discardUnknownFields: MessageOptions
  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. val extends: Seq[String]
  49. def extension[T](generatedExtension: GeneratedExtension[MessageOptions, T]): T
    Definition Classes
    ExtendableMessage
  50. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  51. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  52. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    MessageOptions → GeneratedMessage
  53. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    MessageOptions → GeneratedMessage
  54. def getLazyUtf8StringFields: Boolean
  55. def getNoBox: Boolean
  56. def getNoDefaultValuesInConstructor: Boolean
  57. def getSealedOneofStyle: SealedOneofStyle
  58. def getType: String
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. val lazyUtf8StringFields: Option[Boolean]
  61. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. val noBox: Option[Boolean]
  63. val noDefaultValuesInConstructor: Option[Boolean]
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. val sealedOneofCompanionExtends: Seq[String]
  67. val sealedOneofDerives: Seq[String]
  68. val sealedOneofEmptyExtends: Seq[String]
  69. val sealedOneofExtends: Seq[String]
  70. val sealedOneofStyle: Option[SealedOneofStyle]
  71. def serializedSize: Int
    Definition Classes
    MessageOptions → GeneratedMessage
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. 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
  74. 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
  75. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  76. 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
  77. val type: Option[String]
  78. val unknownFields: UnknownFieldSet

    Unknown wire fields stored by this message, or empty when preservation is disabled.

    Unknown wire fields stored by this message, or empty when preservation is disabled.

    Definition Classes
    MessageOptions → ExtendableMessage → GeneratedMessage
  79. val unknownFieldsAnnotations: Seq[String]
  80. def update(ms: (Lens[MessageOptions, MessageOptions]) ⇒ Mutation[MessageOptions]*): MessageOptions
    Definition Classes
    Updatable
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  84. def withAnnotations(__v: Seq[String]): MessageOptions
  85. def withCompanionAnnotations(__v: Seq[String]): MessageOptions
  86. def withCompanionExtends(__v: Seq[String]): MessageOptions
  87. def withDerives(__v: Seq[String]): MessageOptions
  88. def withExtends(__v: Seq[String]): MessageOptions
  89. def withExtension[T](generatedExtension: GeneratedExtension[MessageOptions, T])(value: T): MessageOptions
    Definition Classes
    ExtendableMessage
  90. def withLazyUtf8StringFields(__v: Boolean): MessageOptions
  91. def withNoBox(__v: Boolean): MessageOptions
  92. def withNoDefaultValuesInConstructor(__v: Boolean): MessageOptions
  93. def withSealedOneofCompanionExtends(__v: Seq[String]): MessageOptions
  94. def withSealedOneofDerives(__v: Seq[String]): MessageOptions
  95. def withSealedOneofEmptyExtends(__v: Seq[String]): MessageOptions
  96. def withSealedOneofExtends(__v: Seq[String]): MessageOptions
  97. def withSealedOneofStyle(__v: SealedOneofStyle): MessageOptions
  98. def withType(__v: String): MessageOptions
  99. def withUnknownFields(__v: UnknownFieldSet): MessageOptions
    Definition Classes
    MessageOptions → ExtendableMessage
  100. def withUnknownFieldsAnnotations(__v: Seq[String]): MessageOptions
  101. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  102. 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
  103. 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

Inherited from Updatable[MessageOptions]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped