HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleproto-lens-protobuf-types-0.7.2.2Haskell2010

Data.ProtoLens.Descriptor

Functions for interacting with message descriptors.

  • 1 type
  • 3 values
datadata DescriptorProto
#

Fields :

  • name :: Lens' DescriptorProto Data.Text.Text

  • maybe'name :: Lens' DescriptorProto (Prelude.Maybe Data.Text.Text)

  • field :: Lens' DescriptorProto [FieldDescriptorProto]

  • vec'field :: Lens' DescriptorProto (Data.Vector.Vector FieldDescriptorProto)

  • extension :: Lens' DescriptorProto [FieldDescriptorProto]

  • vec'extension :: Lens' DescriptorProto (Data.Vector.Vector FieldDescriptorProto)

  • nestedType :: Lens' DescriptorProto [DescriptorProto]

  • vec'nestedType :: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto)

  • enumType :: Lens' DescriptorProto [EnumDescriptorProto]

  • vec'enumType :: Lens' DescriptorProto (Data.Vector.Vector EnumDescriptorProto)

  • extensionRange :: Lens' DescriptorProto [DescriptorProto'ExtensionRange]

  • vec'extensionRange :: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto'ExtensionRange)

  • oneofDecl :: Lens' DescriptorProto [OneofDescriptorProto]

  • vec'oneofDecl :: Lens' DescriptorProto (Data.Vector.Vector OneofDescriptorProto)

  • options :: Lens' DescriptorProto MessageOptions

  • maybe'options :: Lens' DescriptorProto (Prelude.Maybe MessageOptions)

  • reservedRange :: Lens' DescriptorProto [DescriptorProto'ReservedRange]

  • vec'reservedRange :: Lens' DescriptorProto (Data.Vector.Vector DescriptorProto'ReservedRange)

  • reservedName :: Lens' DescriptorProto [Data.Text.Text]

  • vec'reservedName :: Lens' DescriptorProto (Data.Vector.Vector Data.Text.Text)

Instances27Eq, Ord, Show, NFData, Message, HasField, …

The protocol buffer message descriptor for a given type.

This function should be used with TypeApplications, e.g.:

messageDescriptor @SomeProtoType

The protocol buffer file descriptor containing a given type.

This function should be used with TypeApplications, e.g.:

fileDescriptor @SomeProtoType