Available on crate feature
prost
only.Expand description
Wellknown types for Prost
Type Aliases§
- Timestamp
- Protobuf
google.protobuf.Timestamp
- Duration
- Protobuf
google.protobuf.Duration
- Struct
- Protobuf
google.protobuf.Struct
- Value
- Protobuf
google.protobuf.Value
- Empty
- Protobuf
google.protobuf.Empty
- List
Value - Protobuf
google.protobuf.ListValue
- Any
- Protobuf
google.protobuf.Any
- Bool
Value - Protobuf
google.protobuf.BoolValue
- Int32
Value - Protobuf
google.protobuf.Int32Value
- Int64
Value - Protobuf
google.protobuf.Int64Value
- UInt32
Value - Protobuf
google.protobuf.UInt32Value
- UInt64
Value - Protobuf
google.protobuf.UInt64Value
- Float
Value - Protobuf
google.protobuf.FloatValue
- Double
Value - Protobuf
google.protobuf.DoubleValue
- String
Value - Protobuf
google.protobuf.StringValue
- Bytes
Value - Protobuf
google.protobuf.BytesValue
Modules§
Enums§
- Duration
Error - A duration handling error.
- Timestamp
Error - A timestamp handling error.
Modules§
- value
- Nested message and enum types in
Value
. - descriptor_
proto - Nested message and enum types in
DescriptorProto
. - field_
descriptor_ proto - Nested message and enum types in
FieldDescriptorProto
. - enum_
descriptor_ proto - Nested message and enum types in
EnumDescriptorProto
. - file_
options - Nested message and enum types in
FileOptions
. - field_
options - Nested message and enum types in
FieldOptions
. - method_
options - Nested message and enum types in
MethodOptions
. - uninterpreted_
option - Nested message and enum types in
UninterpretedOption
. - source_
code_ info - Nested message and enum types in
SourceCodeInfo
. - generated_
code_ info - Nested message and enum types in
GeneratedCodeInfo
. - field
- Nested message and enum types in
Field
.
Structs§
- File
Descriptor Set - The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
- File
Descriptor Proto - Describes a complete .proto file.
- Descriptor
Proto - Describes a message type.
- Extension
Range Options - Field
Descriptor Proto - Describes a field within a message.
- Oneof
Descriptor Proto - Describes a oneof.
- Enum
Descriptor Proto - Describes an enum type.
- Enum
Value Descriptor Proto - Describes a value within an enum.
- Service
Descriptor Proto - Describes a service.
- Method
Descriptor Proto - Describes a method of a service.
- File
Options - Each of the definitions above may have “options” attached. These are just annotations which may cause code to be generated slightly differently or may contain hints for code that manipulates protocol messages.
- Message
Options - Field
Options - Oneof
Options - Enum
Options - Enum
Value Options - Service
Options - Method
Options - 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.
- Source
Code Info - Encapsulates information about the original source file from which a FileDescriptorProto was generated.
- 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.
- Source
Context SourceContext
represents information about the source of a protobuf element, like the file in which it is defined.- Type
- A protocol buffer message type.
- Field
- A single field of a message type.
- Enum
- Enum type definition.
- Enum
Value - Enum value definition.
- Option
- A protocol buffer option, which can be attached to a message, field, enumeration, etc.
Enums§
- Syntax
- The syntax in which a protocol buffer element is defined.
Structs§
- Api
- Api is a light-weight descriptor for an API Interface.
- Method
- Method represents a method of an API interface.
- Mixin
- Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows:
- Field
Mask FieldMask
represents a set of symbolic field paths, for example:
Enums§
- Null
Value NullValue
is a singleton enumeration to represent the null value for theValue
type union.