package ocaml-protoc-plugin

  1. Overview
  2. Docs
type t =
  1. | TYPE_DOUBLE
    (*

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

    *)
  2. | TYPE_FLOAT
  3. | TYPE_INT64
    (*

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

    *)
  4. | TYPE_UINT64
  5. | TYPE_INT32
    (*

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

    *)
  6. | TYPE_FIXED64
  7. | TYPE_FIXED32
  8. | TYPE_BOOL
  9. | TYPE_STRING
  10. | TYPE_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.

    *)
  11. | TYPE_MESSAGE
    (*

    Length-delimited aggregate.

    *)
  12. | TYPE_BYTES
    (*

    New in version 2.

    *)
  13. | TYPE_UINT32
  14. | TYPE_ENUM
  15. | TYPE_SFIXED32
  16. | TYPE_SFIXED64
  17. | TYPE_SINT32
    (*

    Uses ZigZag encoding.

    *)
  18. | TYPE_SINT64
    (*

    Uses ZigZag encoding.

    *)
val name : unit -> string

Fully qualified protobuf name of this enum