package ocaml-protoc-plugin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Protobuf.OneofDescriptorProto

Describes a oneof.

Sourcetype t = {
  1. name : string option;
  2. options : OneofOptions.t option;
}
Sourceval make : ?name:string -> ?options:OneofOptions.t -> unit -> t

Helper function to generate a message using default values

Serialize the message to binary format

Deserialize from binary format

Serialize to Json (compatible with Yojson.Basic.t)

Deserialize from Json (compatible with Yojson.Basic.t)

Sourceval name : unit -> string

Fully qualified protobuf name of this message

OCaml

Innovation. Community. Security.