API Reference protobuf v0.12.0

modules

Modules

protoc should always be used to generate code instead of writing the code by hand.

An error for when decoding a Protobuf message fails.

An error for when encoding a Protobuf message fails.

Extensions let you set extra fields for previously defined messages(even for messages in other packages) without changing the original message.

JSON encoding and decoding utilities for Protobuf structs.

protoc plugin for generating Elixir code.

Behaviour for transformer modules.

For structs with a Protobuf.TransformModule set, the Protobuf.new/1 function does not get called. This transform module brings back the original behavior of calling Protobuf.new/1 before the value is encoded.