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