This file was automatically generated by
protoc-gen-elm
4.0.1protoc
4.22.2google/protobuf/type.proto
To run it, add a dependency via elm install
on elm-protocol-buffers
version latest or higher.
Syntax
enumeration
decodeSyntax : Protobuf.Decode.Decoder Syntax
Declares how to decode a Syntax
from Bytes. To actually perform the conversion from Bytes, you need to use Protobuf.Decode.decode from eriktim/elm-protocol-buffers.
defaultSyntax : Syntax
Default for Syntax. Should only be used for 'required' decoders as an initial value.
encodeSyntax : Syntax -> Protobuf.Encode.Encoder
Declares how to encode a Syntax
to Bytes. To actually perform the conversion to Bytes, you need to use Protobuf.Encode.encode from eriktim/elm-protocol-buffers.
fieldNumbersSyntax : Syntax -> Basics.Int
The field numbers for the fields of Syntax
. This is mostly useful for internals, like documentation generation.
jsonDecodeSyntax : Json.Decode.Decoder Syntax
Decode a Syntax
from JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json
jsonEncodeSyntax : Syntax -> Json.Encode.Value
Encode a Syntax
to JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json