module documentation
Reusable value codecs for generated protobuf field dispatch.
| Class | |
Wire operations and ownership hooks for one protobuf value type. |
| Function | enum |
Build an int32 wire codec with proto2/proto3 enum validation metadata. |
| Constant | BOOL |
Undocumented |
| Constant | BYTES |
Undocumented |
| Constant | DOUBLE |
Undocumented |
| Constant | FIXED32 |
Undocumented |
| Constant | FIXED64 |
Undocumented |
| Constant | FLOAT |
Undocumented |
| Constant | INT32 |
Undocumented |
| Constant | INT64 |
Undocumented |
| Constant | SFIXED32 |
Undocumented |
| Constant | SFIXED64 |
Undocumented |
| Constant | SINT32 |
Undocumented |
| Constant | SINT64 |
Undocumented |
| Constant | STRING |
Undocumented |
| Constant | UINT32 |
Undocumented |
| Constant | UINT64 |
Undocumented |
| Type Variable | T |
Undocumented |
| Function | _bool |
Undocumented |
| Function | _bytes |
Undocumented |
| Function | _float |
Undocumented |
| Function | _float32 |
Undocumented |
| Function | _integer |
Undocumented |
| Function | _string |
Undocumented |
| Constant | _C |
Undocumented |
def enum_codec(values:
Iterable[ int], *, default: int = 0, closed: bool = False, names: Mapping[ str, int] | None = None, enum_type: Callable[ [], type[ Any]] | None = None) -> ValueCodec[ Any]:
(source)
¶
Build an int32 wire codec with proto2/proto3 enum validation metadata.
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|
Undocumented
| Value |
|