Class/Object

com.google.protobuf.descriptor

FileDescriptorProto

Related Docs: object FileDescriptorProto | package descriptor

Permalink

final case class FileDescriptorProto(name: Option[String] = None, package: Option[String] = None, dependency: Seq[String] = Nil, publicDependency: Seq[Int] = Nil, weakDependency: Seq[Int] = Nil, messageType: Seq[DescriptorProto] = Nil, enumType: Seq[EnumDescriptorProto] = Nil, service: Seq[ServiceDescriptorProto] = Nil, extension: Seq[FieldDescriptorProto] = Nil, options: Option[FileOptions] = None, sourceCodeInfo: Option[SourceCodeInfo] = None, syntax: 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()
Linear Supertypes
Product, Equals, Updatable[FileDescriptorProto], trueaccord.scalapb.Message[FileDescriptorProto], trueaccord.scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileDescriptorProto
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileDescriptorProto(name: Option[String] = None, package: Option[String] = None, dependency: Seq[String] = Nil, publicDependency: Seq[Int] = Nil, weakDependency: Seq[Int] = Nil, messageType: Seq[DescriptorProto] = Nil, enumType: Seq[EnumDescriptorProto] = Nil, service: Seq[ServiceDescriptorProto] = Nil, extension: Seq[FieldDescriptorProto] = Nil, options: Option[FileOptions] = None, sourceCodeInfo: Option[SourceCodeInfo] = None, syntax: Option[String] = None)

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllDependency(__vs: TraversableOnce[String]): FileDescriptorProto

    Permalink
  5. def addAllEnumType(__vs: TraversableOnce[EnumDescriptorProto]): FileDescriptorProto

    Permalink
  6. def addAllExtension(__vs: TraversableOnce[FieldDescriptorProto]): FileDescriptorProto

    Permalink
  7. def addAllMessageType(__vs: TraversableOnce[DescriptorProto]): FileDescriptorProto

    Permalink
  8. def addAllPublicDependency(__vs: TraversableOnce[Int]): FileDescriptorProto

    Permalink
  9. def addAllService(__vs: TraversableOnce[ServiceDescriptorProto]): FileDescriptorProto

    Permalink
  10. def addAllWeakDependency(__vs: TraversableOnce[Int]): FileDescriptorProto

    Permalink
  11. def addDependency(__vs: String*): FileDescriptorProto

    Permalink
  12. def addEnumType(__vs: EnumDescriptorProto*): FileDescriptorProto

    Permalink
  13. def addExtension(__vs: FieldDescriptorProto*): FileDescriptorProto

    Permalink
  14. def addMessageType(__vs: DescriptorProto*): FileDescriptorProto

    Permalink
  15. def addPublicDependency(__vs: Int*): FileDescriptorProto

    Permalink
  16. def addService(__vs: ServiceDescriptorProto*): FileDescriptorProto

    Permalink
  17. def addWeakDependency(__vs: Int*): FileDescriptorProto

    Permalink
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clearDependency: FileDescriptorProto

    Permalink
  20. def clearEnumType: FileDescriptorProto

    Permalink
  21. def clearExtension: FileDescriptorProto

    Permalink
  22. def clearMessageType: FileDescriptorProto

    Permalink
  23. def clearName: FileDescriptorProto

    Permalink
  24. def clearOptions: FileDescriptorProto

    Permalink
  25. def clearPackage: FileDescriptorProto

    Permalink
  26. def clearPublicDependency: FileDescriptorProto

    Permalink
  27. def clearService: FileDescriptorProto

    Permalink
  28. def clearSourceCodeInfo: FileDescriptorProto

    Permalink
  29. def clearSyntax: FileDescriptorProto

    Permalink
  30. def clearWeakDependency: FileDescriptorProto

    Permalink
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def companion: FileDescriptorProto.type

    Permalink
    Definition Classes
    FileDescriptorProtoGeneratedMessage
  33. val dependency: Seq[String]

    Permalink

    Names of files imported by this file.

  34. val enumType: Seq[EnumDescriptorProto]

    Permalink
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. val extension: Seq[FieldDescriptorProto]

    Permalink
  37. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
  39. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  40. def getField(__field: FieldDescriptor): Any

    Permalink
    Definition Classes
    FileDescriptorProtoGeneratedMessage
  41. def getName: String

    Permalink
  42. def getOptions: FileOptions

    Permalink
  43. def getPackage: String

    Permalink
  44. def getSourceCodeInfo: SourceCodeInfo

    Permalink
  45. def getSyntax: String

    Permalink
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def mergeFrom(_input__: CodedInputStream): FileDescriptorProto

    Permalink
    Definition Classes
    FileDescriptorProtoMessage
  48. val messageType: Seq[DescriptorProto]

    Permalink

    All top-level definitions in this file.

  49. val name: Option[String]

    Permalink

    file name, relative to root of source tree

  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. val options: Option[FileOptions]

    Permalink
  54. val package: Option[String]

    Permalink

    e.g.

    e.g. "foo", "foo.bar", etc.

  55. val publicDependency: Seq[Int]

    Permalink

    Indexes of the public imported files in the dependency list above.

  56. final def serializedSize: Int

    Permalink
    Definition Classes
    FileDescriptorProtoGeneratedMessage
  57. val service: Seq[ServiceDescriptorProto]

    Permalink
  58. val sourceCodeInfo: Option[SourceCodeInfo]

    Permalink

    This field contains optional information about the original source code.

    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.

  59. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  60. val syntax: Option[String]

    Permalink

    The syntax of the proto file.

    The syntax of the proto file. The supported values are "proto2" and "proto3".

  61. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  62. def toString(): String

    Permalink
    Definition Classes
    FileDescriptorProto → AnyRef → Any
  63. def update(ms: (Lens[FileDescriptorProto, FileDescriptorProto]) ⇒ Mutation[FileDescriptorProto]*): FileDescriptorProto

    Permalink
    Definition Classes
    Updatable
  64. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. val weakDependency: Seq[Int]

    Permalink

    Indexes of the weak imported files in the dependency list.

    Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.

  68. def withDependency(__v: Seq[String]): FileDescriptorProto

    Permalink
  69. def withEnumType(__v: Seq[EnumDescriptorProto]): FileDescriptorProto

    Permalink
  70. def withExtension(__v: Seq[FieldDescriptorProto]): FileDescriptorProto

    Permalink
  71. def withMessageType(__v: Seq[DescriptorProto]): FileDescriptorProto

    Permalink
  72. def withName(__v: String): FileDescriptorProto

    Permalink
  73. def withOptions(__v: FileOptions): FileDescriptorProto

    Permalink
  74. def withPackage(__v: String): FileDescriptorProto

    Permalink
  75. def withPublicDependency(__v: Seq[Int]): FileDescriptorProto

    Permalink
  76. def withService(__v: Seq[ServiceDescriptorProto]): FileDescriptorProto

    Permalink
  77. def withSourceCodeInfo(__v: SourceCodeInfo): FileDescriptorProto

    Permalink
  78. def withSyntax(__v: String): FileDescriptorProto

    Permalink
  79. def withWeakDependency(__v: Seq[Int]): FileDescriptorProto

    Permalink
  80. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  81. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    FileDescriptorProtoGeneratedMessage
  82. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[FileDescriptorProto]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped