Ocaml_protoc_compiler_lib.Pb_optionProtobuf File/Message/Field options
Protobuf constant
As defined in: Protobuf Language Spec.
type message_literal = (string * value) listand list_literal = value listand value = | Scalar_value of constant| Message_literal of message_literal| List_literal of list_literaltype t = option_name * valuetype set = t listCollection of options
Can be used for field/message or file options
val empty : setmerge s1 s2 adds all the options from s2 to s1. This means than in case of duplicates s2 options will override s1 options.
val pp_constant : Format.formatter -> constant -> unitval pp_value : Format.formatter -> value -> unitval pp_message_literal : Format.formatter -> message_literal -> unitval pp_message_field : Format.formatter -> (string * value) -> unitval pp_t : Format.formatter -> t -> unitval pp_set : Format.formatter -> set -> unit