|Did you know ...||Search Documentation:|
:- use_module(library(protobufs)).(can be autoloaded)
Protoc must have been run (with the
option and the resulting top-level _
pb.pl file loaded. For
more details, see the "protoc" section of the overview documentation.
Fails if the term isn't of an appropriate form or if the appropriate
protoc hasn't been loaded, or if a field
name is incorrect (and therefore nothing in the meta-data matches it).
|Term||The Prolog form of the data, as nested dicts.|
|MessageType||Fully qualified message name
(from the |
|WireCodes||Wire format of the message, which
can be output using
version_error(Module-Version)you need to recompile the
Modulewith a newer version of
library(protobufs): Google's Protocol Buffers (section 1.3.1)
mapfields don't get special treatment (but see protobuf_map_pairs/3).
oneofis not checked for validity.