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()
- Alphabetic
- By Inheritance
- DescriptorProto
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
- def addAllEnumType(__vs: Iterable[EnumDescriptorProto]): DescriptorProto
- def addAllExtension(__vs: Iterable[FieldDescriptorProto]): DescriptorProto
- def addAllExtensionRange(__vs: Iterable[ExtensionRange]): DescriptorProto
- def addAllField(__vs: Iterable[FieldDescriptorProto]): DescriptorProto
- def addAllNestedType(__vs: Iterable[DescriptorProto]): DescriptorProto
- def addAllOneofDecl(__vs: Iterable[OneofDescriptorProto]): DescriptorProto
- def addAllReservedName(__vs: Iterable[String]): DescriptorProto
- def addAllReservedRange(__vs: Iterable[ReservedRange]): DescriptorProto
- def addEnumType(__vs: EnumDescriptorProto*): DescriptorProto
- def addExtension(__vs: FieldDescriptorProto*): DescriptorProto
- def addExtensionRange(__vs: ExtensionRange*): DescriptorProto
- def addField(__vs: FieldDescriptorProto*): DescriptorProto
- def addNestedType(__vs: DescriptorProto*): DescriptorProto
- def addOneofDecl(__vs: OneofDescriptorProto*): DescriptorProto
- def addReservedName(__vs: String*): DescriptorProto
- def addReservedRange(__vs: ReservedRange*): DescriptorProto
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearEnumType: DescriptorProto
- def clearExtension: DescriptorProto
- def clearExtensionRange: DescriptorProto
- def clearField: DescriptorProto
- def clearName: DescriptorProto
- def clearNestedType: DescriptorProto
- def clearOneofDecl: DescriptorProto
- def clearOptions: DescriptorProto
- def clearReservedName: DescriptorProto
- def clearReservedRange: DescriptorProto
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: DescriptorProto.type
- Definition Classes
- DescriptorProto → GeneratedMessage
- def discardUnknownFields: DescriptorProto
- val enumType: Seq[EnumDescriptorProto]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extension: Seq[FieldDescriptorProto]
- val extensionRange: Seq[ExtensionRange]
- val field: Seq[FieldDescriptorProto]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- DescriptorProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- DescriptorProto → GeneratedMessage
- def getName: String
- def getOptions: MessageOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: scala.Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nestedType: Seq[DescriptorProto]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val oneofDecl: Seq[OneofDescriptorProto]
- val options: scala.Option[MessageOptions]
- val reservedName: Seq[String]
- val reservedRange: Seq[ReservedRange]
-
def
serializedSize: Int
- Definition Classes
- DescriptorProto → 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
- DescriptorProto → GeneratedMessage
- val unknownFields: scalapb.UnknownFieldSet
-
def
update(ms: (Lens[DescriptorProto, DescriptorProto]) ⇒ Mutation[DescriptorProto]*): DescriptorProto
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withEnumType(__v: Seq[EnumDescriptorProto]): DescriptorProto
- def withExtension(__v: Seq[FieldDescriptorProto]): DescriptorProto
- def withExtensionRange(__v: Seq[ExtensionRange]): DescriptorProto
- def withField(__v: Seq[FieldDescriptorProto]): DescriptorProto
- def withName(__v: String): DescriptorProto
- def withNestedType(__v: Seq[DescriptorProto]): DescriptorProto
- def withOneofDecl(__v: Seq[OneofDescriptorProto]): DescriptorProto
- def withOptions(__v: MessageOptions): DescriptorProto
- def withReservedName(__v: Seq[String]): DescriptorProto
- def withReservedRange(__v: Seq[ReservedRange]): DescriptorProto
- def withUnknownFields(__v: scalapb.UnknownFieldSet): DescriptorProto
-
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
- DescriptorProto → 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