final case class FileDescriptorProto(name: scala.Option[String] = _root_.scala.None, package: scala.Option[String] = _root_.scala.None, dependency: Seq[String] = _root_.scala.Vector.empty, publicDependency: Seq[Int] = _root_.scala.Vector.empty, weakDependency: Seq[Int] = _root_.scala.Vector.empty, optionDependency: Seq[String] = _root_.scala.Vector.empty, messageType: Seq[DescriptorProto] = _root_.scala.Vector.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Vector.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.Vector.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Vector.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.
- optionDependency
Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.
- 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
editionis present, this value must be "editions". WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.- edition
The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
- 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.Vector.empty, publicDependency: Seq[Int] = _root_.scala.Vector.empty, weakDependency: Seq[Int] = _root_.scala.Vector.empty, optionDependency: Seq[String] = _root_.scala.Vector.empty, messageType: Seq[DescriptorProto] = _root_.scala.Vector.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.Vector.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.Vector.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.Vector.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.
- optionDependency
Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.
- 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
editionis present, this value must be "editions". WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.- edition
The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
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 addAllOptionDependency(__vs: Iterable[String]): 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 addOptionDependency(__vs: String*): 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 clearOptionDependency: 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 optionDependency: Seq[String]
- 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 withOptionDependency(__v: Seq[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