final case class FileDescriptorProto(name: scala.Option[String] = None, package: scala.Option[String] = None, dependency: Seq[String] = _root_.scala.collection.Seq.empty, publicDependency: Seq[Int] = _root_.scala.collection.Seq.empty, weakDependency: Seq[Int] = _root_.scala.collection.Seq.empty, messageType: Seq[DescriptorProto] = _root_.scala.collection.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.collection.Seq.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.collection.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.collection.Seq.empty, options: scala.Option[FileOptions] = None, sourceCodeInfo: scala.Option[SourceCodeInfo] = None, syntax: scala.Option[String] = None) extends trueaccord.scalapb.GeneratedMessage with trueaccord.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
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FileDescriptorProto(name: scala.Option[String] = None, package: scala.Option[String] = None, dependency: Seq[String] = _root_.scala.collection.Seq.empty, publicDependency: Seq[Int] = _root_.scala.collection.Seq.empty, weakDependency: Seq[Int] = _root_.scala.collection.Seq.empty, messageType: Seq[DescriptorProto] = _root_.scala.collection.Seq.empty, enumType: Seq[EnumDescriptorProto] = _root_.scala.collection.Seq.empty, service: Seq[ServiceDescriptorProto] = _root_.scala.collection.Seq.empty, extension: Seq[FieldDescriptorProto] = _root_.scala.collection.Seq.empty, options: scala.Option[FileOptions] = None, sourceCodeInfo: scala.Option[SourceCodeInfo] = None, syntax: scala.Option[String] = 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: TraversableOnce[String]): FileDescriptorProto
- def addAllEnumType(__vs: TraversableOnce[EnumDescriptorProto]): FileDescriptorProto
- def addAllExtension(__vs: TraversableOnce[FieldDescriptorProto]): FileDescriptorProto
- def addAllMessageType(__vs: TraversableOnce[DescriptorProto]): FileDescriptorProto
- def addAllPublicDependency(__vs: TraversableOnce[Int]): FileDescriptorProto
- def addAllService(__vs: TraversableOnce[ServiceDescriptorProto]): FileDescriptorProto
- def addAllWeakDependency(__vs: TraversableOnce[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( ... )
-
def
companion: FileDescriptorProto.type
- 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]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val options: scala.Option[FileOptions]
- val package: scala.Option[String]
- 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
toString(): String
- Definition Classes
- FileDescriptorProto → AnyRef → Any
-
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( ... )
- 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
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