Class/Object

scalapb.options

MessageOptions

Related Docs: object MessageOptions | package options

Permalink

final case class MessageOptions(extends: Seq[String] = _root_.scala.collection.Seq.empty, companionExtends: Seq[String] = _root_.scala.collection.Seq.empty, annotations: Seq[String] = _root_.scala.collection.Seq.empty, type: Option[String] = None, companionAnnotations: Seq[String] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[MessageOptions] with Updatable[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.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[MessageOptions], Message[MessageOptions], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MessageOptions
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  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.collection.Seq.empty, companionExtends: Seq[String] = _root_.scala.collection.Seq.empty, annotations: Seq[String] = _root_.scala.collection.Seq.empty, type: Option[String] = None, companionAnnotations: Seq[String] = _root_.scala.collection.Seq.empty)

    Permalink

    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.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllAnnotations(__vs: TraversableOnce[String]): MessageOptions

    Permalink
  5. def addAllCompanionAnnotations(__vs: TraversableOnce[String]): MessageOptions

    Permalink
  6. def addAllCompanionExtends(__vs: TraversableOnce[String]): MessageOptions

    Permalink
  7. def addAllExtends(__vs: TraversableOnce[String]): MessageOptions

    Permalink
  8. def addAnnotations(__vs: String*): MessageOptions

    Permalink
  9. def addCompanionAnnotations(__vs: String*): MessageOptions

    Permalink
  10. def addCompanionExtends(__vs: String*): MessageOptions

    Permalink
  11. def addExtends(__vs: String*): MessageOptions

    Permalink
  12. val annotations: Seq[String]

    Permalink

    Custom annotations to add to the generated case class.

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clearAnnotations: MessageOptions

    Permalink
  15. def clearCompanionAnnotations: MessageOptions

    Permalink
  16. def clearCompanionExtends: MessageOptions

    Permalink
  17. def clearExtends: MessageOptions

    Permalink
  18. def clearType: MessageOptions

    Permalink
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def companion: MessageOptions.type

    Permalink
    Definition Classes
    MessageOptionsGeneratedMessage
  21. val companionAnnotations: Seq[String]

    Permalink

    Custom annotations to add to the companion object of the generated class.

  22. val companionExtends: Seq[String]

    Permalink

    Additional classes and traits to mix in to the companion object.

  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. val extends: Seq[String]

    Permalink

    Additional classes and traits to mix in to the case class.

  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    MessageOptionsGeneratedMessage
  28. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    MessageOptionsGeneratedMessage
  29. def getType: String

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def mergeFrom(_input__: CodedInputStream): MessageOptions

    Permalink
    Definition Classes
    MessageOptionsMessage
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def serializedSize: Int

    Permalink
    Definition Classes
    MessageOptionsGeneratedMessage
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  38. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  39. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  40. def toProtoString: String

    Permalink

    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
    MessageOptionsGeneratedMessage
  41. val type: Option[String]

    Permalink

    All instances of this message will be converted to this type.

    All instances of this message will be converted to this type. An implicit TypeMapper must be present.

  42. def update(ms: (Lens[MessageOptions, MessageOptions]) ⇒ Mutation[MessageOptions]*): MessageOptions

    Permalink
    Definition Classes
    Updatable
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withAnnotations(__v: Seq[String]): MessageOptions

    Permalink
  47. def withCompanionAnnotations(__v: Seq[String]): MessageOptions

    Permalink
  48. def withCompanionExtends(__v: Seq[String]): MessageOptions

    Permalink
  49. def withExtends(__v: Seq[String]): MessageOptions

    Permalink
  50. def withType(__v: String): MessageOptions

    Permalink
  51. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  52. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    MessageOptionsGeneratedMessage
  53. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[MessageOptions]

Inherited from Message[MessageOptions]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped