scalapb.options

MessageOptions

final case class MessageOptions(extends: Seq[String] = scala.collection.Seq.empty[Nothing], companionExtends: Seq[String] = scala.collection.Seq.empty[Nothing], annotations: Seq[String] = scala.collection.Seq.empty[Nothing], type: Option[String] = scala.None, companionAnnotations: Seq[String] = scala.collection.Seq.empty[Nothing]) 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( 0L )
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MessageOptions(extends: Seq[String] = scala.collection.Seq.empty[Nothing], companionExtends: Seq[String] = scala.collection.Seq.empty[Nothing], annotations: Seq[String] = scala.collection.Seq.empty[Nothing], type: Option[String] = scala.None, companionAnnotations: Seq[String] = scala.collection.Seq.empty[Nothing])

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addAllAnnotations(__vs: TraversableOnce[String]): MessageOptions

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

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

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

  10. def addAnnotations(__vs: String*): MessageOptions

  11. def addCompanionAnnotations(__vs: String*): MessageOptions

  12. def addCompanionExtends(__vs: String*): MessageOptions

  13. def addExtends(__vs: String*): MessageOptions

  14. val annotations: Seq[String]

    Custom annotations to add to the generated case class.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clearAnnotations: MessageOptions

  17. def clearCompanionAnnotations: MessageOptions

  18. def clearCompanionExtends: MessageOptions

  19. def clearExtends: MessageOptions

  20. def clearType: MessageOptions

  21. def clone(): AnyRef

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

    Definition Classes
    MessageOptionsGeneratedMessage
  23. val companionAnnotations: Seq[String]

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

  24. val companionExtends: Seq[String]

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

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

    Definition Classes
    AnyRef
  26. val extends: Seq[String]

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

  27. def finalize(): Unit

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

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

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

    Definition Classes
    MessageOptionsGeneratedMessage
  31. def getType: String

  32. final def isInstanceOf[T0]: Boolean

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

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

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. final def serializedSize: Int

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

    Definition Classes
    AnyRef
  39. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  40. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  41. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  42. 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
    MessageOptionsGeneratedMessage
  43. val type: Option[String]

    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.

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

    Definition Classes
    Updatable
  45. final def wait(): Unit

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

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

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

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

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

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

  52. def withType(__v: String): MessageOptions

  53. def writeDelimitedTo(output: OutputStream): Unit

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

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

    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    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