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) extends scalapb.GeneratedMessage with scalapb.Message[FileDescriptorProto] 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" and "proto3".
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- FileDescriptorProto
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- 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)
- 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" and "proto3".
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 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def companion: FileDescriptorProto
- Definition Classes
- FileDescriptorProto → GeneratedMessage
- val dependency: Seq[String]
- val enumType: Seq[EnumDescriptorProto]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extension: Seq[FieldDescriptorProto]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- def mergeFrom(_input__: CodedInputStream): FileDescriptorProto
- Definition Classes
- FileDescriptorProto → Message
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val options: scala.Option[FileOptions]
- val package: scala.Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicDependency: Seq[Int]
- final 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]
- def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- 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
- def update(ms: (Lens[FileDescriptorProto, FileDescriptorProto]) => Mutation[FileDescriptorProto]*): FileDescriptorProto
- Definition Classes
- Updatable
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val weakDependency: Seq[Int]
- def withDependency(__v: Seq[String]): 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 withWeakDependency(__v: Seq[Int]): FileDescriptorProto
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- FileDescriptorProto → GeneratedMessage
- def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def getAllFields: Map[FieldDescriptor, scala.Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
- def getField(field: FieldDescriptor): scala.Any
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue