Module: CodeGeneratorRequest::FieldDescriptorProto::Type

Defined in:
lib/beefcake/generator.rb

Constant Summary collapse

TYPE_DOUBLE =

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

1
TYPE_FLOAT =
2
TYPE_INT64 =

Not ZigZag encoded. Negative numbers

3
TYPE_UINT64 =

take 10 bytes. Use TYPE_SINT64 if negative values are likely.

4
TYPE_INT32 =

Not ZigZag encoded. Negative numbers

5
TYPE_FIXED64 =

take 10 bytes. Use TYPE_SINT32 if negative values are likely.

6
TYPE_FIXED32 =
7
TYPE_BOOL =
8
TYPE_STRING =
9
TYPE_GROUP =

Tag-delimited aggregate.

10
TYPE_MESSAGE =

Length-delimited aggregate.

11
TYPE_BYTES =

New in version 2.

12
TYPE_UINT32 =
13
TYPE_ENUM =
14
TYPE_SFIXED32 =
15
TYPE_SFIXED64 =
16
TYPE_SINT32 =

Uses ZigZag encoding.

17
TYPE_SINT64 =

Uses ZigZag encoding.

18