Enum FieldDescriptorProto.Types.Type (3.23.0)

public enum FieldDescriptorProto.Types.Type

Namespace

Google.Protobuf.Reflection

Assembly

Google.Protobuf.dll

Fields

NameDescription
Bool
Bytes

New in version 2.

Double

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

Enum
Fixed32
Fixed64
Float
Group

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.

Int32

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

Int64

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

Message

Length-delimited aggregate.

Sfixed32
Sfixed64
Sint32

Uses ZigZag encoding.

Sint64

Uses ZigZag encoding.

String
Uint32
Uint64