Enumeration Caseswift-protobuf 1.28.1SwiftProtobuf
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 message_encoding
feature.
case group
Other cases
case double
0 is reserved for errors. Order is weird for historical reasons.
case float
case int64
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.
case uint64
case int32
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.
case fixed64
case fixed32
case bool
case string
case message
Length-delimited aggregate.
case bytes
New in version 2.
case uint32
case `enum`
case sfixed32
case sfixed64
case sint32
Uses ZigZag encoding.
case sint64
Uses ZigZag encoding.