Formerly andreasewering/elm-protoc-types. Search finds this package by either name.
This file was automatically generated by
protoc-gen-elm 3.3.4protoc 4.22.2google/protobuf/descriptor.protoTo run it, add a dependency via elm install on elm-protocol-buffers version latest or higher.
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.
Default for Annotation. Should only be used for 'required' decoders as an initial value.
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.
The field numbers for the fields of Annotation. This is mostly useful for internals, like documentation generation.
Encode a Annotation to JSON. Uses the canonical encoding described here: https://protobuf.dev/programming-guides/proto3/#json
Fields
path
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
sourceFile
Identifies the filesystem path to the original source .proto.
begin
Identifies the starting offset in bytes in the generated code that relates to the identified object.
end
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).