1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package ocaml-protoc-plugin
-
ocaml-protoc-plugin
-
ocaml-protoc-plugin.google_types
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
name : string option; |
package : string option; |
dependency : string list; |
public_dependency : int list; |
weak_dependency : int list; |
message_type : DescriptorProto.t list; |
enum_type : EnumDescriptorProto.t list; |
service : ServiceDescriptorProto.t list; |
extension : FieldDescriptorProto.t list; |
options : FileOptions.t option; |
source_code_info : SourceCodeInfo.t option; |
syntax : string option; |
}
val make :
?name:string ->
?package:string ->
?dependency:string list ->
?public_dependency:int list ->
?weak_dependency:int list ->
?message_type:DescriptorProto.t list ->
?enum_type:EnumDescriptorProto.t list ->
?service:ServiceDescriptorProto.t list ->
?extension:FieldDescriptorProto.t list ->
?options:FileOptions.t ->
?source_code_info:SourceCodeInfo.t ->
?syntax:string ->
unit ->
t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t