package protocell

  1. Overview
  2. Docs
type t = {
  1. name : string option;
  2. package : string option;
  3. dependency : string list;
  4. public_dependency : int list;
  5. weak_dependency : int list;
  6. message_type : Descriptor_proto.t list;
  7. enum_type : Enum_descriptor_proto.t list;
  8. service : Service_descriptor_proto.t list;
  9. extension : Field_descriptor_proto.t list;
  10. options : File_options.t option;
  11. source_code_info : Source_code_info.t option;
  12. syntax : string option;
}
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val to_binary : t -> (string, [> Bin'.serialization_error ]) Stdlib.result
val of_binary : string -> (t, [> Bin'.deserialization_error ]) Stdlib.result
val to_text : t -> (string, [> Text'.serialization_error ]) Stdlib.result
val of_text : string -> (t, [> Text'.deserialization_error ]) Stdlib.result