class documentation

Basic field types.

Constant TYPE_BOOL Field type bool.
Constant TYPE_BYTES Field type bytes.
Constant TYPE_DOUBLE Field type double.
Constant TYPE_ENUM Field type enum.
Constant TYPE_FIXED32 Field type fixed32.
Constant TYPE_FIXED64 Field type fixed64.
Constant TYPE_FLOAT Field type float.
Constant TYPE_GROUP Field type group. Proto2 syntax only, and deprecated.
Constant TYPE_INT32 Field type int32.
Constant TYPE_INT64 Field type int64.
Constant TYPE_MESSAGE Field type message.
Constant TYPE_SFIXED32 Field type sfixed32.
Constant TYPE_SFIXED64 Field type sfixed64.
Constant TYPE_SINT32 Field type sint32.
Constant TYPE_SINT64 Field type sint64.
Constant TYPE_STRING Field type string.
Constant TYPE_UINT32 Field type uint32.
Constant TYPE_UINT64 Field type uint64.
Constant TYPE_UNKNOWN Field type unknown.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Enum descriptor from the registry.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
TYPE_BOOL: ellipsis = (source)

Field type bool.

Value
...
TYPE_BYTES: ellipsis = (source)

Field type bytes.

Value
...
TYPE_DOUBLE: ellipsis = (source)

Field type double.

Value
...
TYPE_ENUM: ellipsis = (source)

Field type enum.

Value
...
TYPE_FIXED32: ellipsis = (source)

Field type fixed32.

Value
...
TYPE_FIXED64: ellipsis = (source)

Field type fixed64.

Value
...
TYPE_FLOAT: ellipsis = (source)

Field type float.

Value
...
TYPE_GROUP: ellipsis = (source)

Field type group. Proto2 syntax only, and deprecated.

Value
...
TYPE_INT32: ellipsis = (source)

Field type int32.

Value
...
TYPE_INT64: ellipsis = (source)

Field type int64.

Value
...
TYPE_MESSAGE: ellipsis = (source)

Field type message.

Value
...
TYPE_SFIXED32: ellipsis = (source)

Field type sfixed32.

Value
...
TYPE_SFIXED64: ellipsis = (source)

Field type sfixed64.

Value
...
TYPE_SINT32: ellipsis = (source)

Field type sint32.

Value
...
TYPE_SINT64: ellipsis = (source)

Field type sint64.

Value
...
TYPE_STRING: ellipsis = (source)

Field type string.

Value
...
TYPE_UINT32: ellipsis = (source)

Field type uint32.

Value
...
TYPE_UINT64: ellipsis = (source)

Field type uint64.

Value
...
TYPE_UNKNOWN: ellipsis = (source)

Field type unknown.

Value
...