Modules§
- descriptor_
proto - Nested message and enum types in
DescriptorProto. - enum_
descriptor_ proto - Nested message and enum types in
EnumDescriptorProto. - field_
descriptor_ proto - Nested message and enum types in
FieldDescriptorProto. - field_
options - Nested message and enum types in
FieldOptions. - file_
options - Nested message and enum types in
FileOptions. - generated_
code_ info - Nested message and enum types in
GeneratedCodeInfo. - method_
options - Nested message and enum types in
MethodOptions. - source_
code_ info - Nested message and enum types in
SourceCodeInfo. - uninterpreted_
option - Nested message and enum types in
UninterpretedOption.
Structs§
- Descriptor
Proto - Describes a message type.
- Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
- Enum
Descriptor Proto - Describes an enum type.
- Enum
Options - Enum
Value Descriptor Proto - Describes a value within an enum.
- Enum
Value Options - Extension
Range Options - Field
Descriptor Proto - Describes a field within a message.
- Field
Options - File
Descriptor Proto - Describes a complete .proto file.
- File
Descriptor Set - The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
- File
Options - Generated
Code Info - Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
- Message
Options - Method
Descriptor Proto - Describes a method of a service.
- Method
Options - Oneof
Descriptor Proto - Describes a oneof.
- Oneof
Options - Service
Descriptor Proto - Describes a service.
- Service
Options - Source
Code Info - Encapsulates information about the original source file from which a FileDescriptorProto was generated.
- Timestamp
- A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
- Uninterpreted
Option - A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.
Constants§
- FILE_
DESCRIPTOR_ SET - Encoded file descriptor set for the
google.protobufpackage