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

This file was automatically generated by

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


type alias ExtensionRange =
Proto.Google.Protobuf.Internals_.Proto__Google__Protobuf__DescriptorProto__ExtensionRange

Fields

start

Inclusive.

end

Exclusive.


type alias ReservedRange =
Proto.Google.Protobuf.Internals_.Proto__Google__Protobuf__DescriptorProto__ReservedRange

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

Fields

start

Inclusive.

end

Exclusive.

decodeExtensionRange : Protobuf.Decode.Decoder ExtensionRange

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

decodeReservedRange : Protobuf.Decode.Decoder ReservedRange

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

defaultExtensionRange : ExtensionRange

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

defaultReservedRange : ReservedRange

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

encodeExtensionRange : ExtensionRange -> Protobuf.Encode.Encoder

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

encodeReservedRange : ReservedRange -> Protobuf.Encode.Encoder

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

fieldNumbersExtensionRange : { start : Basics.Int, end : Basics.Int, options : Basics.Int }

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

fieldNumbersReservedRange : { start : Basics.Int, end : Basics.Int }

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

jsonDecodeExtensionRange : Json.Decode.Decoder ExtensionRange

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

jsonDecodeReservedRange : Json.Decode.Decoder ReservedRange

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

jsonEncodeExtensionRange : ExtensionRange -> Json.Encode.Value

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

jsonEncodeReservedRange : ReservedRange -> Json.Encode.Value

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