This file was automatically generated by
protoc-gen-elm
3.3.4protoc
4.22.2google/protobuf/descriptor.proto
To run it, add a dependency via elm install
on elm-protocol-buffers
version latest or higher.
Represents the identified object's effect on the element in the original .proto file.
decodeSemantic : Protobuf.Decode.Decoder Semantic
Declares how to decode a Semantic
from Bytes. To actually perform the conversion from Bytes, you need to use Protobuf.Decode.decode from eriktim/elm-protocol-buffers.
defaultSemantic : Semantic
Default for Semantic. Should only be used for 'required' decoders as an initial value.
encodeSemantic : Semantic -> Protobuf.Encode.Encoder
Declares how to encode a Semantic
to Bytes. To actually perform the conversion to Bytes, you need to use Protobuf.Encode.encode from eriktim/elm-protocol-buffers.
fieldNumbersSemantic : Semantic -> Basics.Int
The field numbers for the fields of Semantic
. This is mostly useful for internals, like documentation generation.
fromInternalSemantic : Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufGeneratedCodeInfoAnnotation__Semantic -> Semantic
Convert the internal type Proto__Google__Protobuf__GeneratedCodeInfo__Annotation__Semantic
into a Semantic
.
Using two different types is necessary to avoid recursive module references while having readable constructor names.
jsonEncodeSemantic : Semantic -> Json.Encode.Value
Encode a Semantic
to JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json
toInternalSemantic : Semantic -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufGeneratedCodeInfoAnnotation__Semantic
Convert a Semantic
into its internal representation Proto__Google__Protobuf__GeneratedCodeInfo__Annotation__Semantic
.
Using two different types is necessary to avoid recursive module references while having readable constructor names.