anmolitor/elm-protoc-types/1.0.2

NOTE: the latest version is 2.0.0

Formerly andreasewering/elm-protoc-types. Search finds this package by either name.

Proto.Google.Protobuf.Compiler.Internals_

This file was automatically generated by

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

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

{ fileToGenerate : List String
, parameter : String
, protoFile : List Proto__Google__Protobuf__FileDescriptorProto
, compilerVersion :
Maybe Proto__Google__Protobuf__Compiler__Version
}

Proto__Google__Protobuf__Compiler__CodeGeneratorRequest message

{ error : String
, supportedFeatures : Int64
, file :
List
Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File
}

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse message

= Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__FEATURENONE
| Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__FEATUREPROTO3OPTIONAL

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__Feature enumeration

{ name : String
, insertionPoint : String
, content : String
, generatedCodeInfo :
Maybe Proto__Google__Protobuf__GeneratedCodeInfo
}

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File message

{ major : Int
, minor : Int
, patch : Int
, suffix : String
}

Proto__Google__Protobuf__Compiler__Version message

decodeProto__Google__Protobuf__Compiler__CodeGeneratorRequest : Decoder Proto__Google__Protobuf__Compiler__CodeGeneratorRequest

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

Decoder
Proto__Google__Protobuf__Compiler__CodeGeneratorResponse

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

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

Decoder
Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File

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

decodeProto__Google__Protobuf__Compiler__Version : Decoder Proto__Google__Protobuf__Compiler__Version

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

defaultProto__Google__Protobuf__Compiler__CodeGeneratorRequest : Proto__Google__Protobuf__Compiler__CodeGeneratorRequest

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

defaultProto__Google__Protobuf__Compiler__CodeGeneratorResponse : Proto__Google__Protobuf__Compiler__CodeGeneratorResponse

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

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

defaultProto__Google__Protobuf__Compiler__CodeGeneratorResponse__File : Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File

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

defaultProto__Google__Protobuf__Compiler__Version : Proto__Google__Protobuf__Compiler__Version

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

Proto__Google__Protobuf__Compiler__CodeGeneratorRequest
-> Encoder

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

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse
-> Encoder

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

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

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File
-> Encoder

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

encodeProto__Google__Protobuf__Compiler__Version : Proto__Google__Protobuf__Compiler__Version -> Encoder

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

{ fileToGenerate : Int
, parameter : Int
, protoFile : Int
, compilerVersion : Int
}

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

{ error : Int
, supportedFeatures : Int
, file : Int
}

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

{ name : Int
, insertionPoint : Int
, content : Int
, generatedCodeInfo : Int
}

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

{ major : Int
, minor : Int
, patch : Int
, suffix : Int
}

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

jsonEncodeProto__Google__Protobuf__Compiler__CodeGeneratorRequest : Proto__Google__Protobuf__Compiler__CodeGeneratorRequest -> Value

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

jsonEncodeProto__Google__Protobuf__Compiler__CodeGeneratorResponse : Proto__Google__Protobuf__Compiler__CodeGeneratorResponse -> Value

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

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

Proto__Google__Protobuf__Compiler__CodeGeneratorResponse__File
-> Value

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

jsonEncodeProto__Google__Protobuf__Compiler__Version : Proto__Google__Protobuf__Compiler__Version -> Value

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