anmolitor / elm-protoc-types / Proto.Google.Protobuf.NullValue

This file was automatically generated by

To run it, add a dependency via elm install on elm-protocol-buffers version latest or higher.


type NullValue
    = NULLVALUE
    | NullValueUnrecognized_ Basics.Int

NullValue enumeration

decodeNullValue : Protobuf.Decode.Decoder NullValue

Declares how to decode a NullValue from Bytes. To actually perform the conversion from Bytes, you need to use Protobuf.Decode.decode from eriktim/elm-protocol-buffers.

defaultNullValue : NullValue

Default for NullValue. Should only be used for 'required' decoders as an initial value.

encodeNullValue : NullValue -> Protobuf.Encode.Encoder

Declares how to encode a NullValue to Bytes. To actually perform the conversion to Bytes, you need to use Protobuf.Encode.encode from eriktim/elm-protocol-buffers.

fieldNumbersNullValue : NullValue -> Basics.Int

The field numbers for the fields of NullValue. This is mostly useful for internals, like documentation generation.

jsonDecodeNullValue : Json.Decode.Decoder NullValue

Decode a NullValue from JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json

jsonEncodeNullValue : NullValue -> Json.Encode.Value

Encode a NullValue to JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json