from enum google.protobuf.FieldDescriptorProto.Type

Enumeration Members

BOOL: 8

from enum value: TYPE_BOOL = 8;

BYTES: 12

New in version 2.

from enum value: TYPE_BYTES = 12;

DOUBLE: 1

0 is reserved for errors. Order is weird for historical reasons.

from enum value: TYPE_DOUBLE = 1;

ENUM: 14

from enum value: TYPE_ENUM = 14;

FIXED32: 7

from enum value: TYPE_FIXED32 = 7;

FIXED64: 6

from enum value: TYPE_FIXED64 = 6;

FLOAT: 2

from enum value: TYPE_FLOAT = 2;

GROUP: 10

Tag-delimited aggregate. Group type is deprecated and not supported in proto3. However, Proto3 implementations should still be able to parse the group wire format and treat group fields as unknown fields.

from enum value: TYPE_GROUP = 10;

INT32: 5

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.

from enum value: TYPE_INT32 = 5;

INT64: 3

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.

from enum value: TYPE_INT64 = 3;

MESSAGE: 11

Length-delimited aggregate.

from enum value: TYPE_MESSAGE = 11;

SFIXED32: 15

from enum value: TYPE_SFIXED32 = 15;

SFIXED64: 16

from enum value: TYPE_SFIXED64 = 16;

SINT32: 17

Uses ZigZag encoding.

from enum value: TYPE_SINT32 = 17;

SINT64: 18

Uses ZigZag encoding.

from enum value: TYPE_SINT64 = 18;

STRING: 9

from enum value: TYPE_STRING = 9;

UINT32: 13

from enum value: TYPE_UINT32 = 13;

UINT64: 4

from enum value: TYPE_UINT64 = 4;