package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. name : string;
  2. request_type_url : string;
  3. request_streaming : bool;
  4. response_type_url : string;
  5. response_streaming : bool;
  6. options : Type.Google.Protobuf.Option.t list;
  7. syntax : Type.Google.Protobuf.Syntax.t;
}
val make : ?name:string -> ?request_type_url:string -> ?request_streaming:bool -> ?response_type_url:string -> ?response_streaming:bool -> ?options:Type.Google.Protobuf.Option.t list -> ?syntax:Type.Google.Protobuf.Syntax.t -> 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