proto-lens-0.3.1.0: A lens-based implementation of protocol buffers in Haskell.

Safe HaskellNone
LanguageHaskell2010

Proto.Google.Protobuf.Compiler.Plugin

Synopsis

Documentation

data CodeGeneratorRequest Source #

Fields :

  • fileToGenerate :: Lens' CodeGeneratorRequest [Data.Text.Text]
  • parameter :: Lens' CodeGeneratorRequest Data.Text.Text
  • maybe'parameter :: Lens' CodeGeneratorRequest (Prelude.Maybe Data.Text.Text)
  • protoFile :: Lens' CodeGeneratorRequest [Proto.Google.Protobuf.Descriptor.FileDescriptorProto]

Instances

Eq CodeGeneratorRequest Source # 
Ord CodeGeneratorRequest Source # 
Show CodeGeneratorRequest Source # 
Default CodeGeneratorRequest Source # 
Message CodeGeneratorRequest Source # 
Functor f => HasLens' f CodeGeneratorRequest "parameter" Text Source # 

Methods

lensOf' :: Proxy# Symbol "parameter" -> (Text -> f Text) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

(HasLens' f CodeGeneratorRequest x a, (~) * a b) => HasLens f CodeGeneratorRequest CodeGeneratorRequest x a b Source # 
Functor f => HasLens' f CodeGeneratorRequest "protoFile" [FileDescriptorProto] Source # 
Functor f => HasLens' f CodeGeneratorRequest "maybe'parameter" (Maybe Text) Source # 

Methods

lensOf' :: Proxy# Symbol "maybe'parameter" -> (Maybe Text -> f (Maybe Text)) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

Functor f => HasLens' f CodeGeneratorRequest "fileToGenerate" [Text] Source # 

Methods

lensOf' :: Proxy# Symbol "fileToGenerate" -> ([Text] -> f [Text]) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

data CodeGeneratorResponse Source #

Fields :

  • error :: Lens' CodeGeneratorResponse Data.Text.Text
  • maybe'error :: Lens' CodeGeneratorResponse (Prelude.Maybe Data.Text.Text)
  • file :: Lens' CodeGeneratorResponse [CodeGeneratorResponse'File]

Instances

Eq CodeGeneratorResponse Source # 
Ord CodeGeneratorResponse Source # 
Show CodeGeneratorResponse Source # 
Default CodeGeneratorResponse Source # 
Message CodeGeneratorResponse Source # 
Functor f => HasLens' f CodeGeneratorResponse "error" Text Source # 
(HasLens' f CodeGeneratorResponse x a, (~) * a b) => HasLens f CodeGeneratorResponse CodeGeneratorResponse x a b Source # 
Functor f => HasLens' f CodeGeneratorResponse "file" [CodeGeneratorResponse'File] Source # 
Functor f => HasLens' f CodeGeneratorResponse "maybe'error" (Maybe Text) Source # 

data CodeGeneratorResponse'File Source #

Fields :

  • name :: Lens' CodeGeneratorResponse'File Data.Text.Text
  • maybe'name :: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)
  • insertionPoint :: Lens' CodeGeneratorResponse'File Data.Text.Text
  • maybe'insertionPoint :: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)
  • content :: Lens' CodeGeneratorResponse'File Data.Text.Text
  • maybe'content :: Lens' CodeGeneratorResponse'File (Prelude.Maybe Data.Text.Text)

Instances

Eq CodeGeneratorResponse'File Source # 
Ord CodeGeneratorResponse'File Source # 
Show CodeGeneratorResponse'File Source # 
Default CodeGeneratorResponse'File Source # 
Message CodeGeneratorResponse'File Source # 
Functor f => HasLens' f CodeGeneratorResponse'File "content" Text Source # 
Functor f => HasLens' f CodeGeneratorResponse'File "insertionPoint" Text Source # 
Functor f => HasLens' f CodeGeneratorResponse'File "name" Text Source # 
(HasLens' f CodeGeneratorResponse'File x a, (~) * a b) => HasLens f CodeGeneratorResponse'File CodeGeneratorResponse'File x a b Source # 
Functor f => HasLens' f CodeGeneratorResponse'File "maybe'content" (Maybe Text) Source # 
Functor f => HasLens' f CodeGeneratorResponse'File "maybe'insertionPoint" (Maybe Text) Source # 

Methods

lensOf' :: Proxy# Symbol "maybe'insertionPoint" -> (Maybe Text -> f (Maybe Text)) -> CodeGeneratorResponse'File -> f CodeGeneratorResponse'File #

Functor f => HasLens' f CodeGeneratorResponse'File "maybe'name" (Maybe Text) Source # 
Functor f => HasLens' f CodeGeneratorResponse "file" [CodeGeneratorResponse'File] Source #