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§
- Any
Any
contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.- Bool
Value - Wrapper message for
bool
. - Bytes
Value - Wrapper message for
bytes
. - Descriptor
Proto - Describes a message type.
- Double
Value - Wrapper message for
double
. - Duration
- A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like “day” or “month”. It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.
- 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 - Float
Value - Wrapper message for
float
. - 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.
- Int32
Value - Wrapper message for
int32
. - Int64
Value - Wrapper message for
int64
. - 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.
- String
Value - Wrapper message for
string
. - UInt32
Value - Wrapper message for
uint32
. - UInt64
Value - Wrapper message for
uint64
. - 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.