com.google.protobuf.descriptor

FileDescriptorProto

final case class FileDescriptorProto(name: Option[String] = scala.None, package: Option[String] = scala.None, dependency: Seq[String] = scala.collection.Seq.empty[Nothing], publicDependency: Seq[Int] = scala.collection.Seq.empty[Nothing], weakDependency: Seq[Int] = scala.collection.Seq.empty[Nothing], messageType: Seq[DescriptorProto] = scala.collection.Seq.empty[Nothing], enumType: Seq[EnumDescriptorProto] = scala.collection.Seq.empty[Nothing], service: Seq[ServiceDescriptorProto] = scala.collection.Seq.empty[Nothing], extension: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], options: Option[FileOptions] = scala.None, sourceCodeInfo: Option[SourceCodeInfo] = scala.None, syntax: Option[String] = scala.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( 0L )
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileDescriptorProto(name: Option[String] = scala.None, package: Option[String] = scala.None, dependency: Seq[String] = scala.collection.Seq.empty[Nothing], publicDependency: Seq[Int] = scala.collection.Seq.empty[Nothing], weakDependency: Seq[Int] = scala.collection.Seq.empty[Nothing], messageType: Seq[DescriptorProto] = scala.collection.Seq.empty[Nothing], enumType: Seq[EnumDescriptorProto] = scala.collection.Seq.empty[Nothing], service: Seq[ServiceDescriptorProto] = scala.collection.Seq.empty[Nothing], extension: Seq[FieldDescriptorProto] = scala.collection.Seq.empty[Nothing], options: Option[FileOptions] = scala.None, sourceCodeInfo: Option[SourceCodeInfo] = scala.None, syntax: Option[String] = 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

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addAllDependency(__vs: TraversableOnce[String]): FileDescriptorProto

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

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

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

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

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

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

  13. def addDependency(__vs: String*): FileDescriptorProto

  14. def addEnumType(__vs: EnumDescriptorProto*): FileDescriptorProto

  15. def addExtension(__vs: FieldDescriptorProto*): FileDescriptorProto

  16. def addMessageType(__vs: DescriptorProto*): FileDescriptorProto

  17. def addPublicDependency(__vs: Int*): FileDescriptorProto

  18. def addService(__vs: ServiceDescriptorProto*): FileDescriptorProto

  19. def addWeakDependency(__vs: Int*): FileDescriptorProto

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clearDependency: FileDescriptorProto

  22. def clearEnumType: FileDescriptorProto

  23. def clearExtension: FileDescriptorProto

  24. def clearMessageType: FileDescriptorProto

  25. def clearName: FileDescriptorProto

  26. def clearOptions: FileDescriptorProto

  27. def clearPackage: FileDescriptorProto

  28. def clearPublicDependency: FileDescriptorProto

  29. def clearService: FileDescriptorProto

  30. def clearSourceCodeInfo: FileDescriptorProto

  31. def clearSyntax: FileDescriptorProto

  32. def clearWeakDependency: FileDescriptorProto

  33. def clone(): AnyRef

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

    Definition Classes
    FileDescriptorProtoGeneratedMessage
  35. val dependency: Seq[String]

    Names of files imported by this file.

  36. val enumType: Seq[EnumDescriptorProto]

  37. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. val extension: Seq[FieldDescriptorProto]

  39. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  41. def getField(__field: FieldDescriptor): PValue

    Definition Classes
    FileDescriptorProtoGeneratedMessage
  42. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    FileDescriptorProtoGeneratedMessage
  43. def getName: String

  44. def getOptions: FileOptions

  45. def getPackage: String

  46. def getSourceCodeInfo: SourceCodeInfo

  47. def getSyntax: String

  48. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    FileDescriptorProtoMessage
  50. val messageType: Seq[DescriptorProto]

    All top-level definitions in this file.

  51. val name: Option[String]

    file name, relative to root of source tree

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

    Definition Classes
    AnyRef
  53. final def notify(): Unit

    Definition Classes
    AnyRef
  54. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  55. val options: Option[FileOptions]

  56. val package: Option[String]

    e.

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

  57. val publicDependency: Seq[Int]

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

  58. final def serializedSize: Int

    Definition Classes
    FileDescriptorProtoGeneratedMessage
  59. val service: Seq[ServiceDescriptorProto]

  60. val sourceCodeInfo: Option[SourceCodeInfo]

    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.

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

    Definition Classes
    AnyRef
  62. val syntax: Option[String]

    The syntax of the proto file.

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

  63. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  64. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  65. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  66. def toString(): String

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

    Definition Classes
    Updatable
  68. final def wait(): Unit

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

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

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

    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.

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

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

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

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

  76. def withName(__v: String): FileDescriptorProto

  77. def withOptions(__v: FileOptions): FileDescriptorProto

  78. def withPackage(__v: String): FileDescriptorProto

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

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

  81. def withSourceCodeInfo(__v: SourceCodeInfo): FileDescriptorProto

  82. def withSyntax(__v: String): FileDescriptorProto

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

  84. def writeDelimitedTo(output: OutputStream): Unit

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

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

    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[FileDescriptorProto]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped