Packages

final case class Declaration(number: scala.Option[Int] = _root_.scala.None, fullName: scala.Option[String] = _root_.scala.None, type: scala.Option[String] = _root_.scala.None, reserved: scala.Option[Boolean] = _root_.scala.None, repeated: scala.Option[Boolean] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Declaration] with Product with Serializable

number

The extension number declared within the extension range.

fullName

The fully-qualified name of the extension field. There must be a leading dot in front of the full name.

type

The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.

reserved

If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.

repeated

If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.

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

Instance Constructors

  1. new Declaration(number: scala.Option[Int] = _root_.scala.None, fullName: scala.Option[String] = _root_.scala.None, type: scala.Option[String] = _root_.scala.None, reserved: scala.Option[Boolean] = _root_.scala.None, repeated: scala.Option[Boolean] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...)

    number

    The extension number declared within the extension range.

    fullName

    The fully-qualified name of the extension field. There must be a leading dot in front of the full name.

    type

    The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.

    reserved

    If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.

    repeated

    If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.

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 clearFullName: Declaration
  6. def clearNumber: Declaration
  7. def clearRepeated: Declaration
  8. def clearReserved: Declaration
  9. def clearType: Declaration
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def companion: Declaration.type
    Definition Classes
    DeclarationGeneratedMessage
  12. def discardUnknownFields: Declaration
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val fullName: scala.Option[String]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    DeclarationGeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): scala.Any
    Definition Classes
    DeclarationGeneratedMessage
  19. def getFullName: String
  20. def getNumber: Int
  21. def getRepeated: Boolean
  22. def getReserved: Boolean
  23. def getType: String
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val number: scala.Option[Int]
  29. val repeated: scala.Option[Boolean]
  30. val reserved: scala.Option[Boolean]
  31. def serializedSize: Int
    Definition Classes
    DeclarationGeneratedMessage
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. 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
  34. 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
  35. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  36. 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
    DeclarationGeneratedMessage
  37. val type: scala.Option[String]
  38. val unknownFields: scalapb.UnknownFieldSet
  39. def update(ms: (Lens[Declaration, Declaration]) ⇒ Mutation[Declaration]*): Declaration
    Definition Classes
    Updatable
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. def withFullName(__v: String): Declaration
  44. def withNumber(__v: Int): Declaration
  45. def withRepeated(__v: Boolean): Declaration
  46. def withReserved(__v: Boolean): Declaration
  47. def withType(__v: String): Declaration
  48. def withUnknownFields(__v: scalapb.UnknownFieldSet): Declaration
  49. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  50. 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
    DeclarationGeneratedMessage
  51. 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[Declaration]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from scala.Any

Ungrouped