final case class DescriptorProto(name: scala.Option[String] = _root_.scala.None, field: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, nestedType: Seq[DescriptorProto] = _root_.scala.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Seq.empty, extensionRange: Seq[ExtensionRange] = _root_.scala.Seq.empty, oneofDecl: Seq[OneofDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[MessageOptions] = _root_.scala.None, reservedRange: Seq[ReservedRange] = _root_.scala.Seq.empty, reservedName: Seq[String] = _root_.scala.Seq.empty, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[DescriptorProto] with Product with Serializable

Describes a message type.

reservedName

Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[DescriptorProto], scalapb.GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DescriptorProto
  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 DescriptorProto(name: scala.Option[String] = _root_.scala.None, field: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, nestedType: Seq[DescriptorProto] = _root_.scala.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Seq.empty, extensionRange: Seq[ExtensionRange] = _root_.scala.Seq.empty, oneofDecl: Seq[OneofDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[MessageOptions] = _root_.scala.None, reservedRange: Seq[ReservedRange] = _root_.scala.Seq.empty, reservedName: Seq[String] = _root_.scala.Seq.empty, unknownFields: scalapb.UnknownFieldSet = ...)

    reservedName

    Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

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. def addAllEnumType(__vs: Iterable[EnumDescriptorProto]): DescriptorProto
  5. def addAllExtension(__vs: Iterable[FieldDescriptorProto]): DescriptorProto
  6. def addAllExtensionRange(__vs: Iterable[ExtensionRange]): DescriptorProto
  7. def addAllField(__vs: Iterable[FieldDescriptorProto]): DescriptorProto
  8. def addAllNestedType(__vs: Iterable[DescriptorProto]): DescriptorProto
  9. def addAllOneofDecl(__vs: Iterable[OneofDescriptorProto]): DescriptorProto
  10. def addAllReservedName(__vs: Iterable[String]): DescriptorProto
  11. def addAllReservedRange(__vs: Iterable[ReservedRange]): DescriptorProto
  12. def addEnumType(__vs: EnumDescriptorProto*): DescriptorProto
  13. def addExtension(__vs: FieldDescriptorProto*): DescriptorProto
  14. def addExtensionRange(__vs: ExtensionRange*): DescriptorProto
  15. def addField(__vs: FieldDescriptorProto*): DescriptorProto
  16. def addNestedType(__vs: DescriptorProto*): DescriptorProto
  17. def addOneofDecl(__vs: OneofDescriptorProto*): DescriptorProto
  18. def addReservedName(__vs: String*): DescriptorProto
  19. def addReservedRange(__vs: ReservedRange*): DescriptorProto
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clearEnumType: DescriptorProto
  22. def clearExtension: DescriptorProto
  23. def clearExtensionRange: DescriptorProto
  24. def clearField: DescriptorProto
  25. def clearName: DescriptorProto
  26. def clearNestedType: DescriptorProto
  27. def clearOneofDecl: DescriptorProto
  28. def clearOptions: DescriptorProto
  29. def clearReservedName: DescriptorProto
  30. def clearReservedRange: DescriptorProto
  31. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def companion: DescriptorProto.type
    Definition Classes
    DescriptorProtoGeneratedMessage
  33. def discardUnknownFields: DescriptorProto
  34. val enumType: Seq[EnumDescriptorProto]
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. val extension: Seq[FieldDescriptorProto]
  37. val extensionRange: Seq[ExtensionRange]
  38. val field: Seq[FieldDescriptorProto]
  39. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    DescriptorProtoGeneratedMessage
  42. def getFieldByNumber(__fieldNumber: Int): scala.Any
    Definition Classes
    DescriptorProtoGeneratedMessage
  43. def getName: String
  44. def getOptions: MessageOptions
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. val name: scala.Option[String]
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. val nestedType: Seq[DescriptorProto]
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. val oneofDecl: Seq[OneofDescriptorProto]
  52. val options: scala.Option[MessageOptions]
  53. val reservedName: Seq[String]
  54. val reservedRange: Seq[ReservedRange]
  55. def serializedSize: Int
    Definition Classes
    DescriptorProtoGeneratedMessage
  56. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  57. 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
  58. 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
  59. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  60. 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
    DescriptorProtoGeneratedMessage
  61. val unknownFields: scalapb.UnknownFieldSet
  62. def update(ms: (Lens[DescriptorProto, DescriptorProto]) ⇒ Mutation[DescriptorProto]*): DescriptorProto
    Definition Classes
    Updatable
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  66. def withEnumType(__v: Seq[EnumDescriptorProto]): DescriptorProto
  67. def withExtension(__v: Seq[FieldDescriptorProto]): DescriptorProto
  68. def withExtensionRange(__v: Seq[ExtensionRange]): DescriptorProto
  69. def withField(__v: Seq[FieldDescriptorProto]): DescriptorProto
  70. def withName(__v: String): DescriptorProto
  71. def withNestedType(__v: Seq[DescriptorProto]): DescriptorProto
  72. def withOneofDecl(__v: Seq[OneofDescriptorProto]): DescriptorProto
  73. def withOptions(__v: MessageOptions): DescriptorProto
  74. def withReservedName(__v: Seq[String]): DescriptorProto
  75. def withReservedRange(__v: Seq[ReservedRange]): DescriptorProto
  76. def withUnknownFields(__v: scalapb.UnknownFieldSet): DescriptorProto
  77. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  78. 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
    DescriptorProtoGeneratedMessage
  79. 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[DescriptorProto]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from scala.Any

Ungrouped