final case class FileDescriptorProto(name: scala.Option[String] = _root_.scala.None, package: scala.Option[String] = _root_.scala.None, dependency: Seq[String] = _root_.scala.Seq.empty, publicDependency: Seq[Int] = _root_.scala.Seq.empty, weakDependency: Seq[Int] = _root_.scala.Seq.empty, messageType: Seq[DescriptorProto] = _root_.scala.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Seq.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[FileOptions] = _root_.scala.None, sourceCodeInfo: scala.Option[SourceCodeInfo] = _root_.scala.None, syntax: scala.Option[String] = _root_.scala.None, edition: scala.Option[Edition] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[FileDescriptorProto] with Product with Serializable
Describes a complete .proto file.
- name
file name, relative to root of source tree
- package
e.g. "foo", "foo.bar", etc.
- dependency
Names of files imported by this file.
- publicDependency
Indexes of the public imported files in the dependency list above.
- weakDependency
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- messageType
All top-level definitions in this file.
- sourceCodeInfo
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
- syntax
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If
edition
is present, this value must be "editions".- edition
The edition of the proto file.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- FileDescriptorProto
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FileDescriptorProto(name: scala.Option[String] = _root_.scala.None, package: scala.Option[String] = _root_.scala.None, dependency: Seq[String] = _root_.scala.Seq.empty, publicDependency: Seq[Int] = _root_.scala.Seq.empty, weakDependency: Seq[Int] = _root_.scala.Seq.empty, messageType: Seq[DescriptorProto] = _root_.scala.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Seq.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[FileOptions] = _root_.scala.None, sourceCodeInfo: scala.Option[SourceCodeInfo] = _root_.scala.None, syntax: scala.Option[String] = _root_.scala.None, edition: scala.Option[Edition] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...)
- name
file name, relative to root of source tree
- package
e.g. "foo", "foo.bar", etc.
- dependency
Names of files imported by this file.
- publicDependency
Indexes of the public imported files in the dependency list above.
- weakDependency
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- messageType
All top-level definitions in this file.
- sourceCodeInfo
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
- syntax
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If
edition
is present, this value must be "editions".- edition
The edition of the proto file.
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 addAllDependency(__vs: Iterable[String]): FileDescriptorProto
- def addAllEnumType(__vs: Iterable[EnumDescriptorProto]): FileDescriptorProto
- def addAllExtension(__vs: Iterable[FieldDescriptorProto]): FileDescriptorProto
- def addAllMessageType(__vs: Iterable[DescriptorProto]): FileDescriptorProto
- def addAllPublicDependency(__vs: Iterable[Int]): FileDescriptorProto
- def addAllService(__vs: Iterable[ServiceDescriptorProto]): FileDescriptorProto
- def addAllWeakDependency(__vs: Iterable[Int]): FileDescriptorProto
- def addDependency(__vs: String*): FileDescriptorProto
- def addEnumType(__vs: EnumDescriptorProto*): FileDescriptorProto
- def addExtension(__vs: FieldDescriptorProto*): FileDescriptorProto
- def addMessageType(__vs: DescriptorProto*): FileDescriptorProto
- def addPublicDependency(__vs: Int*): FileDescriptorProto
- def addService(__vs: ServiceDescriptorProto*): FileDescriptorProto
- def addWeakDependency(__vs: Int*): FileDescriptorProto
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearDependency: FileDescriptorProto
- def clearEdition: FileDescriptorProto
- def clearEnumType: FileDescriptorProto
- def clearExtension: FileDescriptorProto
- def clearMessageType: FileDescriptorProto
- def clearName: FileDescriptorProto
- def clearOptions: FileDescriptorProto
- def clearPackage: FileDescriptorProto
- def clearPublicDependency: FileDescriptorProto
- def clearService: FileDescriptorProto
- def clearSourceCodeInfo: FileDescriptorProto
- def clearSyntax: FileDescriptorProto
- def clearWeakDependency: FileDescriptorProto
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: FileDescriptorProto.type
- Definition Classes
- FileDescriptorProto → GeneratedMessage
- val dependency: Seq[String]
- def discardUnknownFields: FileDescriptorProto
- val edition: scala.Option[Edition]
- val enumType: Seq[EnumDescriptorProto]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extension: 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 getEdition: Edition
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- FileDescriptorProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- FileDescriptorProto → GeneratedMessage
- def getName: String
- def getOptions: FileOptions
- def getPackage: String
- def getSourceCodeInfo: SourceCodeInfo
- def getSyntax: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val messageType: Seq[DescriptorProto]
- val name: scala.Option[String]
-
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 options: scala.Option[FileOptions]
- val package: scala.Option[String]
- val publicDependency: Seq[Int]
-
def
serializedSize: Int
- Definition Classes
- FileDescriptorProto → GeneratedMessage
- val service: Seq[ServiceDescriptorProto]
- val sourceCodeInfo: scala.Option[SourceCodeInfo]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val syntax: scala.Option[String]
-
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
- FileDescriptorProto → GeneratedMessage
- val unknownFields: scalapb.UnknownFieldSet
-
def
update(ms: (Lens[FileDescriptorProto, FileDescriptorProto]) ⇒ Mutation[FileDescriptorProto]*): FileDescriptorProto
- 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()
- val weakDependency: Seq[Int]
- def withDependency(__v: Seq[String]): FileDescriptorProto
- def withEdition(__v: Edition): FileDescriptorProto
- def withEnumType(__v: Seq[EnumDescriptorProto]): FileDescriptorProto
- def withExtension(__v: Seq[FieldDescriptorProto]): FileDescriptorProto
- def withMessageType(__v: Seq[DescriptorProto]): FileDescriptorProto
- def withName(__v: String): FileDescriptorProto
- def withOptions(__v: FileOptions): FileDescriptorProto
- def withPackage(__v: String): FileDescriptorProto
- def withPublicDependency(__v: Seq[Int]): FileDescriptorProto
- def withService(__v: Seq[ServiceDescriptorProto]): FileDescriptorProto
- def withSourceCodeInfo(__v: SourceCodeInfo): FileDescriptorProto
- def withSyntax(__v: String): FileDescriptorProto
- def withUnknownFields(__v: scalapb.UnknownFieldSet): FileDescriptorProto
- def withWeakDependency(__v: Seq[Int]): FileDescriptorProto
-
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
- FileDescriptorProto → 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