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

Safe HaskellNone
LanguageHaskell2010

Proto.Google.Protobuf.Compiler.Plugin

Synopsis

Documentation

data CodeGeneratorRequest Source #

Fields :

Instances
Eq CodeGeneratorRequest Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Ord CodeGeneratorRequest Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Show CodeGeneratorRequest Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

NFData CodeGeneratorRequest Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

rnf :: CodeGeneratorRequest -> () #

Message CodeGeneratorRequest Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorRequest "compilerVersion" Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "compilerVersion" -> (Version -> f Version) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

HasLens' CodeGeneratorRequest "parameter" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

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

HasLens' CodeGeneratorRequest "fileToGenerate" [Text] Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

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

HasLens' CodeGeneratorRequest "maybe'compilerVersion" (Maybe Version) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'compilerVersion" -> (Maybe Version -> f (Maybe Version)) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

HasLens' CodeGeneratorRequest "maybe'parameter" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

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

HasLens' CodeGeneratorRequest "protoFile" [FileDescriptorProto] Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

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 # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Ord CodeGeneratorResponse Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Show CodeGeneratorResponse Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

NFData CodeGeneratorResponse Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

rnf :: CodeGeneratorResponse -> () #

Message CodeGeneratorResponse Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse "error" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "error" -> (Text -> f Text) -> CodeGeneratorResponse -> f CodeGeneratorResponse #

HasLens' CodeGeneratorResponse "file" [CodeGeneratorResponse'File] Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse "maybe'error" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'error" -> (Maybe Text -> f (Maybe Text)) -> CodeGeneratorResponse -> f CodeGeneratorResponse #

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 # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Ord CodeGeneratorResponse'File Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Show CodeGeneratorResponse'File Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

NFData CodeGeneratorResponse'File Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Message CodeGeneratorResponse'File Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse'File "content" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse'File "insertionPoint" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "insertionPoint" -> (Text -> f Text) -> CodeGeneratorResponse'File -> f CodeGeneratorResponse'File #

HasLens' CodeGeneratorResponse'File "name" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse'File "maybe'content" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse'File "maybe'insertionPoint" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

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

HasLens' CodeGeneratorResponse'File "maybe'name" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' CodeGeneratorResponse "file" [CodeGeneratorResponse'File] Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

data Version Source #

Fields :

  • major :: Lens' Version Data.Int.Int32
  • maybe'major :: Lens' Version (Prelude.Maybe Data.Int.Int32)
  • minor :: Lens' Version Data.Int.Int32
  • maybe'minor :: Lens' Version (Prelude.Maybe Data.Int.Int32)
  • patch :: Lens' Version Data.Int.Int32
  • maybe'patch :: Lens' Version (Prelude.Maybe Data.Int.Int32)
  • suffix :: Lens' Version Data.Text.Text
  • maybe'suffix :: Lens' Version (Prelude.Maybe Data.Text.Text)
Instances
Eq Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Ord Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Show Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

NFData Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

rnf :: Version -> () #

Message Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

HasLens' Version "major" Int32 Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "major" -> (Int32 -> f Int32) -> Version -> f Version #

HasLens' Version "minor" Int32 Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "minor" -> (Int32 -> f Int32) -> Version -> f Version #

HasLens' Version "patch" Int32 Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "patch" -> (Int32 -> f Int32) -> Version -> f Version #

HasLens' Version "suffix" Text Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "suffix" -> (Text -> f Text) -> Version -> f Version #

HasLens' CodeGeneratorRequest "compilerVersion" Version Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "compilerVersion" -> (Version -> f Version) -> CodeGeneratorRequest -> f CodeGeneratorRequest #

HasLens' Version "maybe'major" (Maybe Int32) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'major" -> (Maybe Int32 -> f (Maybe Int32)) -> Version -> f Version #

HasLens' Version "maybe'minor" (Maybe Int32) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'minor" -> (Maybe Int32 -> f (Maybe Int32)) -> Version -> f Version #

HasLens' Version "maybe'patch" (Maybe Int32) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'patch" -> (Maybe Int32 -> f (Maybe Int32)) -> Version -> f Version #

HasLens' Version "maybe'suffix" (Maybe Text) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'suffix" -> (Maybe Text -> f (Maybe Text)) -> Version -> f Version #

HasLens' CodeGeneratorRequest "maybe'compilerVersion" (Maybe Version) Source # 
Instance details

Defined in Proto.Google.Protobuf.Compiler.Plugin

Methods

lensOf' :: Functor f => Proxy# "maybe'compilerVersion" -> (Maybe Version -> f (Maybe Version)) -> CodeGeneratorRequest -> f CodeGeneratorRequest #