com.google.protobuf.descriptor

DescriptorProto

final case class DescriptorProto(name: Option[String] = scala.None, field: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], extension: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], nestedType: Seq[DescriptorProto] = scala.collection.Seq.empty[Nothing], enumType: Seq[EnumDescriptorProto] = scala.collection.Seq.empty[Nothing], extensionRange: Seq[ExtensionRange] = scala.collection.Seq.empty[Nothing], oneofDecl: Seq[OneofDescriptorProto] = scala.collection.Seq.empty[Nothing], options: Option[MessageOptions] = scala.None, reservedRange: Seq[ReservedRange] = scala.collection.Seq.empty[Nothing], reservedName: Seq[String] = scala.collection.Seq.empty[Nothing]) extends trueaccord.scalapb.GeneratedMessage with trueaccord.scalapb.Message[DescriptorProto] 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( 0L )
Linear Supertypes
Product, Equals, Updatable[DescriptorProto], trueaccord.scalapb.Message[DescriptorProto], trueaccord.scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DescriptorProto
  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 DescriptorProto(name: Option[String] = scala.None, field: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], extension: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], nestedType: Seq[DescriptorProto] = scala.collection.Seq.empty[Nothing], enumType: Seq[EnumDescriptorProto] = scala.collection.Seq.empty[Nothing], extensionRange: Seq[ExtensionRange] = scala.collection.Seq.empty[Nothing], oneofDecl: Seq[OneofDescriptorProto] = scala.collection.Seq.empty[Nothing], options: Option[MessageOptions] = scala.None, reservedRange: Seq[ReservedRange] = scala.collection.Seq.empty[Nothing], reservedName: Seq[String] = scala.collection.Seq.empty[Nothing])

    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: 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 addAllEnumType(__vs: TraversableOnce[EnumDescriptorProto]): DescriptorProto

  7. def addAllExtension(__vs: TraversableOnce[FieldDescriptorProto]): DescriptorProto

  8. def addAllExtensionRange(__vs: TraversableOnce[ExtensionRange]): DescriptorProto

  9. def addAllField(__vs: TraversableOnce[FieldDescriptorProto]): DescriptorProto

  10. def addAllNestedType(__vs: TraversableOnce[DescriptorProto]): DescriptorProto

  11. def addAllOneofDecl(__vs: TraversableOnce[OneofDescriptorProto]): DescriptorProto

  12. def addAllReservedName(__vs: TraversableOnce[String]): DescriptorProto

  13. def addAllReservedRange(__vs: TraversableOnce[ReservedRange]): DescriptorProto

  14. def addEnumType(__vs: EnumDescriptorProto*): DescriptorProto

  15. def addExtension(__vs: FieldDescriptorProto*): DescriptorProto

  16. def addExtensionRange(__vs: ExtensionRange*): DescriptorProto

  17. def addField(__vs: FieldDescriptorProto*): DescriptorProto

  18. def addNestedType(__vs: DescriptorProto*): DescriptorProto

  19. def addOneofDecl(__vs: OneofDescriptorProto*): DescriptorProto

  20. def addReservedName(__vs: String*): DescriptorProto

  21. def addReservedRange(__vs: ReservedRange*): DescriptorProto

  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def clearEnumType: DescriptorProto

  24. def clearExtension: DescriptorProto

  25. def clearExtensionRange: DescriptorProto

  26. def clearField: DescriptorProto

  27. def clearName: DescriptorProto

  28. def clearNestedType: DescriptorProto

  29. def clearOneofDecl: DescriptorProto

  30. def clearOptions: DescriptorProto

  31. def clearReservedName: DescriptorProto

  32. def clearReservedRange: DescriptorProto

  33. def clone(): AnyRef

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

    Definition Classes
    DescriptorProtoGeneratedMessage
  35. val enumType: Seq[EnumDescriptorProto]

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

    Definition Classes
    AnyRef
  37. val extension: Seq[FieldDescriptorProto]

  38. val extensionRange: Seq[ExtensionRange]

  39. val field: Seq[FieldDescriptorProto]

  40. def finalize(): Unit

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

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

    Definition Classes
    DescriptorProtoGeneratedMessage
  43. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    DescriptorProtoGeneratedMessage
  44. def getName: String

  45. def getOptions: MessageOptions

  46. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  47. def mergeFrom(_input__: CodedInputStream): DescriptorProto

    Definition Classes
    DescriptorProtoMessage
  48. val name: Option[String]

  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. val nestedType: Seq[DescriptorProto]

  51. final def notify(): Unit

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

    Definition Classes
    AnyRef
  53. val oneofDecl: Seq[OneofDescriptorProto]

  54. val options: Option[MessageOptions]

  55. val reservedName: Seq[String]

    Reserved field names, which may not be used by fields in the same message.

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

  56. val reservedRange: Seq[ReservedRange]

  57. final def serializedSize: Int

    Definition Classes
    DescriptorProtoGeneratedMessage
  58. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    GeneratedMessage
  60. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  61. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  62. def toString(): String

    Definition Classes
    DescriptorProto → AnyRef → Any
  63. def update(ms: (Lens[DescriptorProto, DescriptorProto]) ⇒ (DescriptorProto) ⇒ DescriptorProto*): DescriptorProto

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. def withEnumType(__v: Seq[EnumDescriptorProto]): DescriptorProto

  68. def withExtension(__v: Seq[FieldDescriptorProto]): DescriptorProto

  69. def withExtensionRange(__v: Seq[ExtensionRange]): DescriptorProto

  70. def withField(__v: Seq[FieldDescriptorProto]): DescriptorProto

  71. def withName(__v: String): DescriptorProto

  72. def withNestedType(__v: Seq[DescriptorProto]): DescriptorProto

  73. def withOneofDecl(__v: Seq[OneofDescriptorProto]): DescriptorProto

  74. def withOptions(__v: MessageOptions): DescriptorProto

  75. def withReservedName(__v: Seq[String]): DescriptorProto

  76. def withReservedRange(__v: Seq[ReservedRange]): DescriptorProto

  77. def writeDelimitedTo(output: OutputStream): Unit

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

    Definition Classes
    DescriptorProtoGeneratedMessage
  79. 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[DescriptorProto]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped