Packages

final case class Version(major: scala.Option[Int] = _root_.scala.None, minor: scala.Option[Int] = _root_.scala.None, patch: scala.Option[Int] = _root_.scala.None, suffix: scala.Option[String] = _root_.scala.None) extends scalapb.GeneratedMessage with scalapb.Message[Version] with Updatable[Version] with Product with Serializable

The version number of protocol compiler.

suffix

A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should be empty for mainline stable releases.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Version], scalapb.Message[Version], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Version
  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 Version(major: scala.Option[Int] = _root_.scala.None, minor: scala.Option[Int] = _root_.scala.None, patch: scala.Option[Int] = _root_.scala.None, suffix: scala.Option[String] = _root_.scala.None)

    suffix

    A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should be empty for mainline stable releases.

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearMajor: Version
  6. def clearMinor: Version
  7. def clearPatch: Version
  8. def clearSuffix: Version
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def companion: Version.type
    Definition Classes
    VersionGeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    VersionGeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): scala.Any
    Definition Classes
    VersionGeneratedMessage
  16. def getMajor: Int
  17. def getMinor: Int
  18. def getPatch: Int
  19. def getSuffix: String
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val major: scala.Option[Int]
  22. def mergeFrom(_input__: CodedInputStream): Version
    Definition Classes
    VersionMessage
  23. val minor: scala.Option[Int]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. val patch: scala.Option[Int]
  28. final def serializedSize: Int
    Definition Classes
    VersionGeneratedMessage
  29. val suffix: scala.Option[String]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  32. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  33. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  34. 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
    VersionGeneratedMessage
  35. def update(ms: (Lens[Version, Version]) ⇒ Mutation[Version]*): Version
    Definition Classes
    Updatable
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def withMajor(__v: Int): Version
  40. def withMinor(__v: Int): Version
  41. def withPatch(__v: Int): Version
  42. def withSuffix(__v: String): Version
  43. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  44. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    VersionGeneratedMessage
  45. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, scala.Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): scala.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[Version]

Inherited from scalapb.Message[Version]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped