package ocaml-protoc-plugin

  1. Overview
  2. Docs
module NamePart : sig ... end
val name' : unit -> string
type t = {
  1. name : NamePart.t list;
  2. identifier_value : string option;
  3. positive_int_value : int option;
  4. negative_int_value : int option;
  5. double_value : float option;
  6. string_value : bytes option;
  7. aggregate_value : string option;
}
val make : ?name:NamePart.t list -> ?identifier_value:string -> ?positive_int_value:int -> ?negative_int_value:int -> ?double_value:float -> ?string_value:bytes -> ?aggregate_value:string -> unit -> t
val merge : t -> t -> t
val to_proto' : Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t -> t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> (t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ]) Stdlib.result
val from_proto_exn : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> t