package ocaml-protoc-plugin

  1. Overview
  2. Docs

Basic field types.

type t =
  1. | TYPE_UNKNOWN
    (*

    Field type unknown.

    *)
  2. | TYPE_DOUBLE
    (*

    Field type double.

    *)
  3. | TYPE_FLOAT
    (*

    Field type float.

    *)
  4. | TYPE_INT64
    (*

    Field type int64.

    *)
  5. | TYPE_UINT64
    (*

    Field type uint64.

    *)
  6. | TYPE_INT32
    (*

    Field type int32.

    *)
  7. | TYPE_FIXED64
    (*

    Field type fixed64.

    *)
  8. | TYPE_FIXED32
    (*

    Field type fixed32.

    *)
  9. | TYPE_BOOL
    (*

    Field type bool.

    *)
  10. | TYPE_STRING
    (*

    Field type string.

    *)
  11. | TYPE_GROUP
    (*

    Field type group. Proto2 syntax only, and deprecated.

    *)
  12. | TYPE_MESSAGE
    (*

    Field type message.

    *)
  13. | TYPE_BYTES
    (*

    Field type bytes.

    *)
  14. | TYPE_UINT32
    (*

    Field type uint32.

    *)
  15. | TYPE_ENUM
    (*

    Field type enum.

    *)
  16. | TYPE_SFIXED32
    (*

    Field type sfixed32.

    *)
  17. | TYPE_SFIXED64
    (*

    Field type sfixed64.

    *)
  18. | TYPE_SINT32
    (*

    Field type sint32.

    *)
  19. | TYPE_SINT64
    (*

    Field type sint64.

    *)
val name : unit -> string

Fully qualified protobuf name of this enum

OCaml

Innovation. Community. Security.