API Reference Protox v1.6.3

Modules

Use this module to generate the Elixir structs corresponding to a set of protobuf definitions and to encode/decode instances of these structures.

This error is thrown when a data could not be decoded.

Default values of Protocol Buffers types.

This module contains the functions necessary to encode protobuf messages.

This error is thrown when a message could not be encoded.

The definition of a protobuf field (e.g. tag, type, etc.).

This error is thrown when decoding data with a field which tag is 0.

This error is thrown when a field is constructed with an invalid atribute.

This error is thrown when a JSON payload could not be decoded to a protobuf message.

This error is thrown when a protobuf message could not be encoded to JSON.

The behaviour to implement when wrapping a JSON library.

This protocol makes possible to override the JSON decoding of a specific message.

This protocol makes possible to override the JSON encoding of a specific message.

This module provides a helper function to merge messages.

This error is thrown when encoding or decoding a Protobuf 2 message with unset required fields (that is, that have the value nil).

This module describes types that define a protobuf message.

Mix Tasks

Generate Elixir code from .proto files.