package ocaml-protoc-plugin
Module Protobuf.GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
An Annotation connects some span of text in generated code to an element of its generating .proto file.
Helper function to generate a message using default values
Serialize the message to binary format
Source
val from_proto :
Ocaml_protoc_plugin.Reader.t ->
(t, [> Ocaml_protoc_plugin.Result.error ]) resultDeserialize from binary format
Serialize to Json (compatible with Yojson.Basic.t)
Source
val from_json :
Ocaml_protoc_plugin.Json.t ->
(t, [> Ocaml_protoc_plugin.Result.error ]) resultDeserialize from Json (compatible with Yojson.Basic.t)
Fully qualified protobuf name of this message