andreasewering/elm-protoc-types/1.2.1

Renamed to anmolitor/elm-protoc-types. It is published under that name, and new versions come out there.

Versions published as andreasewering/elm-protoc-types still install under that name. 4 versions of 5 come from the new location (see their notes).

Proto.Google.Protobuf.FileOptions

This file was automatically generated by

  • protoc-gen-elm 3.3.4
  • protoc 4.22.2
  • the following specification files: google/protobuf/descriptor.proto

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

= SPEED
| CODESIZE
| LITERUNTIME

Generated classes can be optimized for speed or code size.

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

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

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

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

Convert the internal type Proto__Google__Protobuf__FileOptions__OptimizeMode into a OptimizeMode.

Using two different types is necessary to avoid recursive module references while having readable constructor names.

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

Convert a OptimizeMode into its internal representation Proto__Google__Protobuf__FileOptions__OptimizeMode.

Using two different types is necessary to avoid recursive module references while having readable constructor names.