Type
class Type (View source)
Protobuf type google.protobuf.FieldDescriptorProto.Type
Constants
| TYPE_DOUBLE |
0 is reserved for errors. Order is weird for historical reasons. Generated from protobuf enum |
| TYPE_FLOAT |
Generated from protobuf enum |
| TYPE_INT64 |
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
negative values are likely. Generated from protobuf enum |
| TYPE_UINT64 |
Generated from protobuf enum |
| TYPE_INT32 |
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
negative values are likely. Generated from protobuf enum |
| TYPE_FIXED64 |
Generated from protobuf enum |
| TYPE_FIXED32 |
Generated from protobuf enum |
| TYPE_BOOL |
Generated from protobuf enum |
| TYPE_STRING |
Generated from protobuf enum |
| TYPE_GROUP |
Tag-delimited aggregate. Group type is deprecated and not supported after google.protobuf. However, Proto3
implementations should still be able to parse the group wire format and
treat group fields as unknown fields. In Editions, the group wire format
can be enabled via the Generated from protobuf enum |
| TYPE_MESSAGE |
Length-delimited aggregate. Generated from protobuf enum |
| TYPE_BYTES |
New in version 2. Generated from protobuf enum |
| TYPE_UINT32 |
Generated from protobuf enum |
| TYPE_ENUM |
Generated from protobuf enum |
| TYPE_SFIXED32 |
Generated from protobuf enum |
| TYPE_SFIXED64 |
Generated from protobuf enum |
| TYPE_SINT32 |
Uses ZigZag encoding. Generated from protobuf enum |
| TYPE_SINT64 |
Uses ZigZag encoding. Generated from protobuf enum |
Methods
Details
static
name($value)
No description
static
value($name)
No description