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 = _root_.scalapb.UnknownFieldSet.empty) 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()
- Alphabetic
- By Inheritance
- Declaration
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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 = _root_.scalapb.UnknownFieldSet.empty)
- 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
- final def !=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearFullName: Declaration
- def clearNumber: Declaration
- def clearRepeated: Declaration
- def clearReserved: Declaration
- def clearType: Declaration
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: Declaration.type
- Definition Classes
- Declaration → GeneratedMessage
- def discardUnknownFields: Declaration
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fullName: scala.Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Declaration → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- Declaration → GeneratedMessage
- def getFullName: String
- def getNumber: Int
- def getRepeated: Boolean
- def getReserved: Boolean
- def getType: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val number: scala.Option[Int]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val repeated: scala.Option[Boolean]
- val reserved: scala.Option[Boolean]
- def serializedSize: Int
- Definition Classes
- Declaration → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- 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
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- 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
- Declaration → GeneratedMessage
- val type: scala.Option[String]
- val unknownFields: scalapb.UnknownFieldSet
- def update(ms: (Lens[Declaration, Declaration]) => Mutation[Declaration]*): Declaration
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withFullName(__v: String): Declaration
- def withNumber(__v: Int): Declaration
- def withRepeated(__v: Boolean): Declaration
- def withReserved(__v: Boolean): Declaration
- def withType(__v: String): Declaration
- def withUnknownFields(__v: scalapb.UnknownFieldSet): Declaration
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- 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
- Declaration → GeneratedMessage
- 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