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.
Proto.Google.Protobuf.Internals_.Proto__Google__Protobuf__GeneratedCodeInfo__Annotation
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
Identifies the filesystem path to the original source .proto.
Identifies the starting offset in bytes in the generated code that relates to the identified object.
Identifies the ending offset in bytes in the generated code that relates to the identified object. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
decodeAnnotation : Protobuf.Decode.Decoder Annotation
Declares how to decode a Annotation
from Bytes. To actually perform the conversion from Bytes, you need to use Protobuf.Decode.decode from eriktim/elm-protocol-buffers.
defaultAnnotation : Annotation
Default for Annotation. Should only be used for 'required' decoders as an initial value.
encodeAnnotation : Annotation -> Protobuf.Encode.Encoder
Declares how to encode a Annotation
to Bytes. To actually perform the conversion to Bytes, you need to use Protobuf.Encode.encode from eriktim/elm-protocol-buffers.
fieldNumbersAnnotation : { path : Basics.Int, sourceFile : Basics.Int, begin : Basics.Int, end : Basics.Int, semantic : Basics.Int }
The field numbers for the fields of Annotation
. This is mostly useful for internals, like documentation generation.
jsonDecodeAnnotation : Json.Decode.Decoder Annotation
Declares how to decode a Annotation
from Bytes. To actually perform the conversion from Bytes, you need to use Protobuf.Decode.decode from eriktim/elm-protocol-buffers.
jsonEncodeAnnotation : Annotation -> Json.Encode.Value
Encode a Annotation
to JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json