Describes a complete .proto file.
Value parameters
- dependency
-
Names of files imported by this file.
- messageType
-
All top-level definitions in this file.
- name
-
file name, relative to root of source tree
- package
-
e.g. "foo", "foo.bar", etc.
- publicDependency
-
Indexes of the public imported files in the dependency list above.
- 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".
- weakDependency
-
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Updatable[FileDescriptorProto]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
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.
Attributes
- Returns
-
human-readable representation of this message.
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
Attributes
- Inherited from:
- GeneratedMessage
Attributes
- Inherited from:
- Updatable
Attributes
- Inherited from:
- GeneratedMessage
Serializes the message into the given output stream